org.aspectj.apache.bcel.generic
Class FieldGenOrMethodGen
java.lang.Object
org.aspectj.apache.bcel.classfile.Modifiers
org.aspectj.apache.bcel.generic.FieldGenOrMethodGen
- Direct Known Subclasses:
- FieldGen, MethodGen
public abstract class FieldGenOrMethodGen
- extends Modifiers
Super class for FieldGen and MethodGen objects, since they have some methods in common!
- Version:
- $Id: FieldGenOrMethodGen.java,v 1.8 2009/09/15 19:40:14 aclement Exp $
- Author:
- M. Dahm
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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setType
public void setType(Type type)
getType
public Type getType()
getName
public java.lang.String getName()
setName
public void setName(java.lang.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 java.util.List<AnnotationGen> getAnnotations()
addAnnotation
public void addAnnotation(AnnotationGen ag)
removeAnnotation
public void removeAnnotation(AnnotationGen ag)
removeAnnotations
public void removeAnnotations()
getAttributes
public java.util.List<Attribute> getAttributes()
getAttributesImmutable
public Attribute[] getAttributesImmutable()
getSignature
public abstract java.lang.String getSignature()