Modifier and Type | Field and Description |
---|---|
protected short |
access_flags |
protected java.util.List |
attributes |
protected ConstantPool |
constantPool |
Modifier | Constructor and Description |
---|---|
protected |
ProgramElement(ConstantPool constantPool) |
protected |
ProgramElement(ConstantPool constantPool,
short access_flags) |
protected |
ProgramElement(ConstantPool constantPool,
short access_flags,
java.util.List attributes) |
Modifier and Type | Method and Description |
---|---|
short |
getAccessFlags() |
Attribute |
getAttribute(java.lang.String name)
Gets a named attribute from this ProgramElement.
|
java.util.List |
getAttributes()
Gets all the class level attributes of this ClassFile.
|
ConstantPool |
getConstantPool() |
protected java.util.List |
readAttributes(java.io.DataInputStream dis)
Reads attributes of the program element.
|
protected void |
writeAttributes(java.io.DataOutputStream dos) |
protected short access_flags
protected java.util.List attributes
protected ConstantPool constantPool
protected ProgramElement(ConstantPool constantPool)
protected ProgramElement(ConstantPool constantPool, short access_flags)
protected ProgramElement(ConstantPool constantPool, short access_flags, java.util.List attributes)
public short getAccessFlags()
public Attribute getAttribute(java.lang.String name)
name
- Name of the attributepublic java.util.List getAttributes()
public ConstantPool getConstantPool()
protected java.util.List readAttributes(java.io.DataInputStream dis) throws java.io.IOException
java.io.IOException
protected void writeAttributes(java.io.DataOutputStream dos) throws java.io.IOException
java.io.IOException
Copyright © 2001. Documenation generated February 9 2016.