| Modifier and Type | Class and Description |
|---|---|
class |
InnerClassesAttribute.InnerClass
Represents a single inner class.
|
| Constructor and Description |
|---|
InnerClassesAttribute(InputStream stream,
int nameIndex,
ConstantPool pool)
Creates a new InnerClassesAttribute.
|
| Modifier and Type | Method and Description |
|---|---|
List<InnerClassesAttribute.InnerClass> |
getInnerClasses()
Returns the Constant that represents the value of this ConstantValueAttribute.
|
int |
getLength()
Returns the length of this Attribute.
|
String |
getName()
Returns the attribute name.
|
String |
toString() |
void |
write(DataOutputStream output)
Writes the Attribute out in class file format.
|
public InnerClassesAttribute(InputStream stream, int nameIndex, ConstantPool pool) throws IOException
stream - the stream to read fromnameIndex - the attribute index in the constant poolpool - the constant pool to read fromIOException - if an I/O error occurs while reading the attributepublic void write(DataOutputStream output) throws IOException
Attributewrite in interface Attributeoutput - the stream to write toIOException - if an I/O error occurs while writing to the streampublic String getName()
public List<InnerClassesAttribute.InnerClass> getInnerClasses()
public int getLength()
Copyright © 2012. All Rights Reserved.