Class | Description |
---|---|
org.apache.bcel.util.ClassVector |
as of 5.1.1 - 7/17/2005
|
Method | Description |
---|---|
org.apache.bcel.classfile.AbstractLocalVariableTable.getLocalVariable(int) |
since 5.2 because multiple variables can share the
same slot, use getLocalVariable(int index, int pc) instead.
|
org.apache.bcel.classfile.ConstantUtf8.setBytes(String) | |
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.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.generic.ReferenceType.firstCommonSuperclass(ReferenceType) |
use getFirstCommonSuperclass(ReferenceType t) which has
slightly changed semantics.
|
Constructor | Description |
---|---|
org.apache.bcel.util.ClassPath() |
Use SYSTEM_CLASS_PATH constant
|