org.aspectj.apache.bcel.generic
Class FieldGenOrMethodGen

java.lang.Object
  extended by org.aspectj.apache.bcel.classfile.Modifiers
      extended by 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

Method Summary
 void addAnnotation(AnnotationGen ag)
           
 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)
           
 
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
 

Method Detail

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()