diff --git a/src/org/apache/bcel/generic/FieldOrMethod.java b/src/org/apache/bcel/generic/FieldOrMethod.java index 287fc54..9599221 100644 --- a/src/org/apache/bcel/generic/FieldOrMethod.java +++ b/src/org/apache/bcel/generic/FieldOrMethod.java @@ -75,14 +75,7 @@ public abstract class FieldOrMethod extends CPInstruction implements LoadClass { /** * @return name of the referenced class/interface - * @deprecated 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. */ - @Deprecated public String getClassName(ConstantPoolGen cpg) { ConstantPool cp = cpg.getConstantPool(); ConstantCP cmr = (ConstantCP) cp.getConstant(index);