Class and Description |
---|
org.apache.bcel.util.ClassVector
as of 5.1.1 - 7/17/2005
|
Method and Description |
---|
org.apache.bcel.generic.ReferenceType.firstCommonSuperclass(ReferenceType)
use getFirstCommonSuperclass(ReferenceType t) which has
slightly changed semantics.
|
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 methods
|
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.ObjectType.referencesClass()
this method returns an inaccurate result
if the class or interface referenced cannot
be found: use referencesClassExact() instead
|
org.apache.bcel.generic.ObjectType.referencesInterface()
this method returns an inaccurate result
if the class or interface referenced cannot
be found: use referencesInterfaceExact() instead
|
org.apache.bcel.classfile.ConstantUtf8.setBytes(String) |
org.apache.bcel.generic.Instruction.setComparator(InstructionComparator)
use the built in comparator, or wrap this class in another object that implements these methods
|
Constructor and Description |
---|
org.apache.bcel.util.ClassPath()
Use SYSTEM_CLASS_PATH constant
|
Copyright © 2017. All rights reserved.