< prev index next >

src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/Field.java

Print this page

        

*** 31,41 **** /** * This class represents the field info structure, i.e., the representation * for a variable in the class. See JVM specification for details. * - * @version $Id$ */ public final class Field extends FieldOrMethod { private static BCELComparator bcelComparator = new BCELComparator() { --- 31,40 ----
*** 102,112 **** /** * @return constant value associated with this field (may be null) */ ! public final ConstantValue getConstantValue() { for (final Attribute attribute : super.getAttributes()) { if (attribute.getTag() == Const.ATTR_CONSTANT_VALUE) { return (ConstantValue) attribute; } } --- 101,111 ---- /** * @return constant value associated with this field (may be null) */ ! public ConstantValue getConstantValue() { for (final Attribute attribute : super.getAttributes()) { if (attribute.getTag() == Const.ATTR_CONSTANT_VALUE) { return (ConstantValue) attribute; } }
*** 119,129 **** * `public static final short MAX = 100', e.g.. * * @return String representation of field, including the signature. */ @Override ! public final String toString() { String name; String signature; String access; // Short cuts to constant pool // Get names from constant pool --- 118,128 ---- * `public static final short MAX = 100', e.g.. * * @return String representation of field, including the signature. */ @Override ! public String toString() { String name; String signature; String access; // Short cuts to constant pool // Get names from constant pool
*** 147,157 **** /** * @return deep copy of this field */ ! public final Field copy( final ConstantPool _constant_pool ) { return (Field) copy_(_constant_pool); } /** --- 146,156 ---- /** * @return deep copy of this field */ ! public Field copy( final ConstantPool _constant_pool ) { return (Field) copy_(_constant_pool); } /**
< prev index next >