Package org.aspectj.apache.bcel.generic
Class FieldGen
- java.lang.Object
-
- org.aspectj.apache.bcel.classfile.Modifiers
-
- org.aspectj.apache.bcel.generic.FieldGenOrMethodGen
-
- org.aspectj.apache.bcel.generic.FieldGen
-
public class FieldGen extends FieldGenOrMethodGen
-
-
Field Summary
-
Fields inherited from class org.aspectj.apache.bcel.generic.FieldGenOrMethodGen
annotationList, cp, name, type
-
-
Constructor Summary
Constructors Constructor Description FieldGen(int modifiers, Type type, String name, ConstantPool cpool)FieldGen(Field field, ConstantPool cp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldgetField()StringgetInitialValue()StringgetSignature()voidsetInitialStringValue(String value)voidsetValue(int index)voidsetValue(String constantString)StringtoString()voidwipeValue()-
Methods inherited from class org.aspectj.apache.bcel.generic.FieldGenOrMethodGen
addAnnotation, addAnnotationsAsAttribute, addAttribute, getAnnotations, getAttributes, getAttributesImmutable, getConstantPool, getName, getType, removeAnnotation, removeAnnotations, removeAttribute, removeAttributes, setConstantPool, setName, setType
-
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
-
-
-
-
Constructor Detail
-
FieldGen
public FieldGen(int modifiers, Type type, String name, ConstantPool cpool)
-
FieldGen
public FieldGen(Field field, ConstantPool cp)
-
-
Method Detail
-
setValue
public void setValue(int index)
-
setValue
public void setValue(String constantString)
-
wipeValue
public void wipeValue()
-
getField
public Field getField()
-
getSignature
public String getSignature()
- Specified by:
getSignaturein classFieldGenOrMethodGen
-
getInitialValue
public String getInitialValue()
-
setInitialStringValue
public void setInitialStringValue(String value)
-
-