Package org.aspectj.apache.bcel.generic
Class FieldGenOrMethodGen
- java.lang.Object
-
- org.aspectj.apache.bcel.classfile.Modifiers
-
- org.aspectj.apache.bcel.generic.FieldGenOrMethodGen
-
-
Field Summary
Fields Modifier and Type Field Description protected List<AnnotationGen>annotationListprotected ConstantPoolcpprotected Stringnameprotected Typetype
-
Constructor Summary
Constructors Modifier Constructor Description protectedFieldGenOrMethodGen()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaddAnnotation(AnnotationGen ag)protected voidaddAnnotationsAsAttribute(ConstantPool cp)voidaddAttribute(Attribute a)List<AnnotationGen>getAnnotations()List<Attribute>getAttributes()Attribute[]getAttributesImmutable()ConstantPoolgetConstantPool()StringgetName()abstract StringgetSignature()TypegetType()voidremoveAnnotation(AnnotationGen ag)voidremoveAnnotations()voidremoveAttribute(Attribute a)voidremoveAttributes()voidsetConstantPool(ConstantPool cp)voidsetName(String name)voidsetType(Type type)-
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 Detail
-
name
protected String name
-
type
protected Type type
-
cp
protected ConstantPool cp
-
annotationList
protected List<AnnotationGen> annotationList
-
-
Method Detail
-
setType
public void setType(Type type)
-
getType
public Type getType()
-
getName
public String getName()
-
setName
public void setName(String name)
-
getConstantPool
public ConstantPool getConstantPool()
-
setConstantPool
public void setConstantPool(ConstantPool cp)
-
addAttribute
public void addAttribute(Attribute a)
-
removeAttribute
public void removeAttribute(Attribute a)
-
removeAttributes
public void removeAttributes()
-
getAnnotations
public List<AnnotationGen> getAnnotations()
-
addAnnotation
public void addAnnotation(AnnotationGen ag)
-
removeAnnotation
public void removeAnnotation(AnnotationGen ag)
-
removeAnnotations
public void removeAnnotations()
-
getAttributesImmutable
public Attribute[] getAttributesImmutable()
-
addAnnotationsAsAttribute
protected void addAnnotationsAsAttribute(ConstantPool cp)
-
getSignature
public abstract String getSignature()
-
-