koala.dynamicjava.classfile
Class AttributeOwnerComponent
java.lang.Object
|
+--koala.dynamicjava.classfile.BytecodeComponent
|
+--koala.dynamicjava.classfile.AttributeOwnerComponent
- Direct Known Subclasses:
- ClassFile, FieldInfo, MethodInfo
- public abstract class AttributeOwnerComponent
- extends BytecodeComponent
This class represents a component of the bytecode 'ClassFile' format
that contains attributes
Field Summary |
protected short |
accessFlags
The access flags |
protected java.util.List |
attributes
The attributes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
accessFlags
protected short accessFlags
- The access flags
attributes
protected java.util.List attributes
- The attributes
AttributeOwnerComponent
protected AttributeOwnerComponent()
- Initializes a new bytecode component
- Parameters:
cp
- the constant poolaf
- the access flagsni
- the name index in the constant pool
setAccessFlags
public void setAccessFlags(int flags)
- Sets the access flags for this class
setSyntheticAttribute
public void setSyntheticAttribute()
- Sets the synthetic attribute to this field
Copyright © 2001 Stephane Hillion. All Rights Reserved.