public class StackMapTableAttr extends Attribute
Modifier and Type | Class and Description |
---|---|
static class |
StackMapTableAttr.StackMapFrame |
static class |
StackMapTableAttr.VerificationTypeInfo |
CODE, CONSTANT_VALUE, DEPRECATED, ENCLOSING_METHOD, EXCEPTIONS, INNER_CLASSES, LINE_NUMBER_TABLE, LOCAL_VARIABLE_TABLE, RUNTIME_INVISIBLE_ANNOTATIONS, RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS, RUNTIME_VISIBLE_ANNOTATIONS, RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS, SIGNATURE, SOURCE_FILE, STACK_MAP_TABLE, SYNTHETIC
Constructor and Description |
---|
StackMapTableAttr(ConstantPool cp) |
StackMapTableAttr(ConstantPool cp,
String name,
int length,
DataInput din) |
Modifier and Type | Method and Description |
---|---|
StackMapTableAttr.StackMapFrame |
getInitialFrame() |
int |
getLength()
Returns the length (in bytes) of this attribute in the class file.
|
void |
setInitialFrame(MethodInfo method) |
void |
writeDataTo(DataOutput dout)
Write just the attribute specific data.
|
void |
writeTo(DataOutput dout)
This method writes the 16 bit name constant index followed by the
32 bit attribute length, followed by the attribute specific data.
|
getAttributes, getConstantPool, getName, getNameConstant, readFrom, skipBytes
public StackMapTableAttr(ConstantPool cp)
public StackMapTableAttr(ConstantPool cp, String name, int length, DataInput din) throws IOException
IOException
public int getLength()
Attribute
public void writeTo(DataOutput dout) throws IOException
Attribute
writeTo
in class Attribute
IOException
public void writeDataTo(DataOutput dout) throws IOException
Attribute
writeDataTo
in class Attribute
IOException
public StackMapTableAttr.StackMapFrame getInitialFrame()
public void setInitialFrame(MethodInfo method)
Copyright © 2004-2015 Cojen. All Rights Reserved.