Top Description Fields Constructors Methods
org.aspectj.apache.bcel.generic

public abstract Class FieldGenOrMethodGen

extends Modifiers
Class Inheritance
Known Direct Subclasses
org.aspectj.apache.bcel.generic.MethodGen, org.aspectj.apache.bcel.generic.FieldGen
Imports
java.util.ArrayList, .Collection, .List, org.aspectj.apache.bcel.classfile.Attribute, .ConstantPool, .Modifiers, .Utility, org.aspectj.apache.bcel.classfile.annotation.AnnotationGen, .RuntimeAnnos

Super class for FieldGen and MethodGen objects, since they have some methods in common!
Author
M. Dahm
Version
$Id: FieldGenOrMethodGen.java,v 1.8 2009/09/15 19:40:14 aclement Exp $

Field Summary

Modifier and TypeField and Description
protected List<AnnotationGen>
private List<Attribute>
protected ConstantPool
protected String
protected Type
Inherited from org.aspectj.apache.bcel.classfile.Modifiers:
modifiers

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public void
protected void
public void
public List<AnnotationGen>
public List<Attribute>
public Attribute[]
public ConstantPool
public String
public abstract String
public Type
public void
public void
public void
public void
public void
public void
public void
setType(Type type)

Inherited from org.aspectj.apache.bcel.classfile.Modifiers:
getModifiersisAbstractisBridgeisFinalisInterfaceisNativeisPrivateisProtectedisPublicisStaticisStrictfpisSynchronizedisTransientisVarargsisVolatilesetModifiers

Field Detail

annotationListback to summary
protected List<AnnotationGen> annotationList
attributeListback to summary
private List<Attribute> attributeList
cpback to summary
protected ConstantPool cp
nameback to summary
protected String name
typeback to summary
protected Type type

Constructor Detail

FieldGenOrMethodGenback to summary
protected FieldGenOrMethodGen()

Method Detail

addAnnotationback to summary
public void addAnnotation(AnnotationGen ag)
addAnnotationsAsAttributeback to summary
protected void addAnnotationsAsAttribute(ConstantPool cp)
addAttributeback to summary
public void addAttribute(Attribute a)
getAnnotationsback to summary
public List<AnnotationGen> getAnnotations()
getAttributesback to summary
public List<Attribute> getAttributes()
getAttributesImmutableback to summary
public Attribute[] getAttributesImmutable()
getConstantPoolback to summary
public ConstantPool getConstantPool()
getNameback to summary
public String getName()
getSignatureback to summary
public abstract String getSignature()
getTypeback to summary
public Type getType()
removeAnnotationback to summary
public void removeAnnotation(AnnotationGen ag)
removeAnnotationsback to summary
public void removeAnnotations()
removeAttributeback to summary
public void removeAttribute(Attribute a)
removeAttributesback to summary
public void removeAttributes()
setConstantPoolback to summary
public void setConstantPool(ConstantPool cp)
setNameback to summary
public void setName(String name)
setTypeback to summary
public void setType(Type type)