Deprecated API

Contents

Deprecated Classes

ClassVector
as of 5.1.1 - 7/17/2005

Deprecated Methods

org.apache.bcel.generic.FieldOrMethod.getClassName(ConstantPoolGen)
If the instruction references an array class, this method will return "java.lang.Object".
org.apache.bcel.generic.FieldOrMethod.getClassType(ConstantPoolGen)
If the instruction references an array class, the ObjectType returned will be invalid.
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.generic.ReferenceType.firstCommonSuperclass(ReferenceType)
use getFirstCommonSuperclass(ReferenceType t) which has slightly changed semantics.

Deprecated Constructors

org.apache.bcel.util.ClassPath.ClassPath()
Use SYSTEM_CLASS_PATH constant