Top Description Fields Constructors Methods
org.apache.commons.compress.harmony.unpack200.bytecode

public Class EnclosingMethodAttribute

extends Attribute
Class Inheritance
Imports
java.io.DataOutputStream, .IOException

Enclosing method class file attribute.

Field Summary

Modifier and TypeField and Description
private static CPUTF8
private int
private final CPClass
private final CPNameAndType
private int

Constructor Summary

AccessConstructor and Description
public
EnclosingMethodAttribute(final CPClass cpClass, final CPNameAndType method)

Method Summary

Modifier and TypeMethod and Description
protected int
protected ClassFileEntry[]
protected void
resolve(final ClassConstantPool
TODO
pool
)

Overrides org.apache.commons.compress.harmony.unpack200.bytecode.Attribute.resolve.

Allows the constant pool entries to resolve their nested entries.
public static void
setAttributeName(final CPUTF8 cpUTF8Value)

public String
toString()

Implements abstract org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry.toString.

Returns a string representation of the object.
protected void
Inherited from org.apache.commons.compress.harmony.unpack200.bytecode.Attribute:
doWriteequalsgetAttributeNamegetLengthIncludingHeaderhasBCIRenumberinghashCodeisSourceFileAttribute

Field Detail

attributeNameback to summary
private static CPUTF8 attributeName

Hides org.apache.commons.compress.harmony.unpack200.bytecode.Attribute.attributeName.

classIndexback to summary
private int classIndex
cpClassback to summary
private final CPClass cpClass
methodback to summary
private final CPNameAndType method
methodIndexback to summary
private int methodIndex

Constructor Detail

EnclosingMethodAttributeback to summary
public EnclosingMethodAttribute(final CPClass cpClass, final CPNameAndType method)

Method Detail

getLengthback to summary
protected int getLength()

Implements abstract org.apache.commons.compress.harmony.unpack200.bytecode.Attribute.getLength.

Annotations
@Override
getNestedClassFileEntriesback to summary
protected ClassFileEntry[] getNestedClassFileEntries()

Overrides org.apache.commons.compress.harmony.unpack200.bytecode.Attribute.getNestedClassFileEntries.

Annotations
@Override
resolveback to summary
protected void resolve(final ClassConstantPool pool)

Overrides org.apache.commons.compress.harmony.unpack200.bytecode.Attribute.resolve.

Doc from org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry.resolve.

Allows the constant pool entries to resolve their nested entries.

Parameters
pool:ClassConstantPool

TODO

Annotations
@Override
setAttributeNameback to summary
public static void setAttributeName(final CPUTF8 cpUTF8Value)
toStringback to summary
public String toString()

Implements abstract org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override
writeBodyback to summary
protected void writeBody(final DataOutputStream dos) throws IOException

Implements abstract org.apache.commons.compress.harmony.unpack200.bytecode.Attribute.writeBody.

Annotations
@Override