Class Field
java.lang.Object
org.aspectj.apache.bcel.classfile.Modifiers
org.aspectj.apache.bcel.classfile.FieldOrMethod
org.aspectj.apache.bcel.classfile.Field
- All Implemented Interfaces:
Node
This class represents the field info structure, i.e., the representation for a variable in the class. See JVM specification for
details.
- Version:
- $Id: Field.java,v 1.6 2009/09/15 03:33:52 aclement Exp $
- Author:
- M. Dahm
-
Field Summary
Fields inherited from class org.aspectj.apache.bcel.classfile.FieldOrMethod
attributes, cpool, nameIndex, signatureIndex
-
Constructor Summary
ConstructorDescriptionField(int modifiers, int nameIndex, int signatureIndex, Attribute[] attributes, ConstantPool cpool)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept(ClassVisitor v)
getType()
return the type of the fieldtoString()
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