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
  • Field Details

  • Constructor Details

    • FieldGenOrMethodGen

      protected FieldGenOrMethodGen()
  • Method Details

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

      public List<Attribute> getAttributes()
    • getAttributesImmutable

      public Attribute[] getAttributesImmutable()
    • addAnnotationsAsAttribute

      protected void addAnnotationsAsAttribute(ConstantPool cp)
    • getSignature

      public abstract String getSignature()