-
Classes Class Description org.apache.bcel.util.ClassVector as of 5.1.1 - 7/17/2005
-
Methods Method Description org.apache.bcel.classfile.ConstantUtf8.setBytes(String) org.apache.bcel.classfile.LocalVariableTable.getLocalVariable(int) since 5.2 because multiple variables can share the same slot, use getLocalVariable(int index, int pc) instead.org.apache.bcel.generic.FieldOrMethod.getClassName(ConstantPoolGen) If the instruction references an array class, this method will return "java.lang.Object". For code generated by Java 1.5, this answer is sometimes wrong (e.g., if the "clone()" method is called on an array). A better idea is to use the getReferenceType() method, which correctly distinguishes between class types and array types.org.apache.bcel.generic.FieldOrMethod.getClassType(ConstantPoolGen) If the instruction references an array class, the ObjectType returned will be invalid. Use getReferenceType() instead.org.apache.bcel.generic.Instruction.getComparator() use the built in comparator, or wrap this class in another object that implements these methodsorg.apache.bcel.generic.Instruction.setComparator(InstructionComparator) use the built in comparator, or wrap this class in another object that implements these methodsorg.apache.bcel.generic.ObjectType.referencesClass() this method returns an inaccurate result if the class or interface referenced cannot be found: use referencesClassExact() insteadorg.apache.bcel.generic.ObjectType.referencesInterface() this method returns an inaccurate result if the class or interface referenced cannot be found: use referencesInterfaceExact() insteadorg.apache.bcel.generic.ReferenceType.firstCommonSuperclass(ReferenceType) use getFirstCommonSuperclass(ReferenceType t) which has slightly changed semantics.
-
Constructors Constructor Description org.apache.bcel.util.ClassPath() Use SYSTEM_CLASS_PATH constant