Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList<AnnotationGen> |
annotationList |
protected ConstantPool |
cp |
protected java.lang.String |
name |
protected Type |
type |
Modifier | Constructor and Description |
---|---|
protected |
FieldGenOrMethodGen() |
Modifier and Type | Method and Description |
---|---|
void |
addAnnotation(AnnotationGen ag) |
protected void |
addAnnotationsAsAttribute(ConstantPool cp) |
void |
addAttribute(Attribute a) |
java.util.List<AnnotationGen> |
getAnnotations() |
java.util.List<Attribute> |
getAttributes() |
Attribute[] |
getAttributesImmutable() |
ConstantPool |
getConstantPool() |
java.lang.String |
getName() |
abstract java.lang.String |
getSignature() |
Type |
getType() |
void |
removeAnnotation(AnnotationGen ag) |
void |
removeAnnotations() |
void |
removeAttribute(Attribute a) |
void |
removeAttributes() |
void |
setConstantPool(ConstantPool cp) |
void |
setName(java.lang.String name) |
void |
setType(Type type) |
getModifiers, isAbstract, isBridge, isFinal, isInterface, isNative, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isTransient, isVarargs, isVolatile, setModifiers
protected java.lang.String name
protected Type type
protected ConstantPool cp
protected java.util.ArrayList<AnnotationGen> annotationList
public void setType(Type type)
public Type getType()
public java.lang.String getName()
public void setName(java.lang.String name)
public ConstantPool getConstantPool()
public void setConstantPool(ConstantPool cp)
public void addAttribute(Attribute a)
public void removeAttribute(Attribute a)
public void removeAttributes()
public java.util.List<AnnotationGen> getAnnotations()
public void addAnnotation(AnnotationGen ag)
public void removeAnnotation(AnnotationGen ag)
public void removeAnnotations()
public java.util.List<Attribute> getAttributes()
public Attribute[] getAttributesImmutable()
protected void addAnnotationsAsAttribute(ConstantPool cp)
public abstract java.lang.String getSignature()