Class Field
java.lang.Object
org.aspectj.apache.bcel.classfile.Modifiers
org.aspectj.apache.bcel.classfile.FieldOrMethod
org.aspectj.apache.bcel.classfile.Field
-
Field Summary
FieldsFields inherited from class org.aspectj.apache.bcel.classfile.FieldOrMethod
attributes, cpool, nameIndex, signatureIndex
-
Constructor Summary
ConstructorsConstructorDescriptionField
(int modifiers, int nameIndex, int signatureIndex, Attribute[] attributes, ConstantPool cpool) -
Method Summary
Modifier and TypeMethodDescriptionvoid
final ConstantValue
getType()
return the type of the fieldfinal String
toString()
Return string representation close to declaration format, eg: 'public static final short MAX = 100'Methods inherited from class org.aspectj.apache.bcel.classfile.FieldOrMethod
dump, getAnnotations, getAttributes, getConstantPool, getDeclaredSignature, getGenericSignature, getName, getNameIndex, getSignature, getSignatureIndex, setAttributes
Methods inherited from class org.aspectj.apache.bcel.classfile.Modifiers
getModifiers, isAbstract, isBridge, isFinal, isInterface, isNative, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isTransient, isVarargs, isVolatile, setModifiers
-
Field Details
-
NoFields
-
-
Constructor Details
-
Field
-
Field
public Field(int modifiers, int nameIndex, int signatureIndex, Attribute[] attributes, ConstantPool cpool)
-
-
Method Details
-
accept
-
getConstantValue
- Returns:
- constant value associated with this field (may be null)
-
toString
-
getType
return the type of the field
-