Package org.codehaus.janino.util
Class ClassFile.StackMapTableAttribute
- java.lang.Object
-
- org.codehaus.janino.util.ClassFile.AttributeInfo
-
- org.codehaus.janino.util.ClassFile.StackMapTableAttribute
-
- Enclosing class:
- ClassFile
public static class ClassFile.StackMapTableAttribute extends ClassFile.AttributeInfo
Representation of an unmodifiableStackMapTableattribute, as read from a class file.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClassFile.StackMapTableAttribute.AppendFrameRepresentation of theappend_framestructure; see JVMS8 4.7.4.static classClassFile.StackMapTableAttribute.ChopFrameRepresentation of thechop_framestructure; see JVMS8 4.7.4.static classClassFile.StackMapTableAttribute.FullFrameRepresentation of thefull_framestructure; see JVMS8 4.7.4.static classClassFile.StackMapTableAttribute.ObjectVariableInfoRepresentation of theobject_variable_infostructure; see JVMS8 4.7.4.static classClassFile.StackMapTableAttribute.SameFrameRepresentation of thesame_framestructure; see JVMS8 4.7.4.static classClassFile.StackMapTableAttribute.SameFrameExtendedRepresentation of thesame_frame_extendedstructure; see JVMS8 4.7.4.static classClassFile.StackMapTableAttribute.SameLocals1StackItemFrameRepresentation of thesame_locals_1_stack_item_framestructure; see JVMS8 4.7.4.static classClassFile.StackMapTableAttribute.SameLocals1StackItemFrameExtendedRepresentation of thesame_locals_1_stack_item_frame_extendedstructure; see JVMS8 4.7.4.static classClassFile.StackMapTableAttribute.StackMapFrameRepresentation of an entry in theClassFile.StackMapTableAttribute.static interfaceClassFile.StackMapTableAttribute.StackMapFrameVisitor<T>static classClassFile.StackMapTableAttribute.UninitializedVariableInfoRepresentation of theuninitialized_variable_infostructure; see JVMS8 4.7.4.static interfaceClassFile.StackMapTableAttribute.VerificationTypeInfoRepresentation of theverification_type_infounion; see JVMS8 4.7.4.
-
Field Summary
Fields Modifier and Type Field Description static ClassFile.StackMapTableAttribute.VerificationTypeInfoDOUBLE_VARIABLE_INFORepresentation of thedouble_variable_infostructure; see JVMS8 4.7.4.private ClassFile.StackMapTableAttribute.StackMapFrame[]entriesstatic ClassFile.StackMapTableAttribute.VerificationTypeInfoFLOAT_VARIABLE_INFORepresentation of thefloat_variable_infostructure; see JVMS8 4.7.4.static ClassFile.StackMapTableAttribute.VerificationTypeInfoINTEGER_VARIABLE_INFORepresentation of theinteger_variable_infostructure; see JVMS8 4.7.4.static ClassFile.StackMapTableAttribute.VerificationTypeInfoLONG_VARIABLE_INFORepresentation of thelong_variable_infostructure; see JVMS8 4.7.4.static ClassFile.StackMapTableAttribute.VerificationTypeInfoNULL_VARIABLE_INFORepresentation of thenull_variable_infostructure; see JVMS8 4.7.4.static ClassFile.StackMapTableAttribute.VerificationTypeInfoTOP_VARIABLE_INFORepresentation of thetop_variable_infostructure; see JVMS8 4.7.4.static ClassFile.StackMapTableAttribute.VerificationTypeInfoUNINITIALIZED_THIS_VARIABLE_INFORepresentation of theuninitialized_this_variable_infostructure; see JVMS8 4.7.4.
-
Constructor Summary
Constructors Constructor Description StackMapTableAttribute(short attributeNameIndex, ClassFile.StackMapTableAttribute.StackMapFrame[] entries)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static ClassFile.AttributeInfoloadBody(short attributeNameIndex, java.io.DataInputStream dis, ClassFile classFile)private static ClassFile.StackMapTableAttribute.VerificationTypeInfoloadVerificationTypeInfo(java.io.DataInputStream dis, ClassFile classFile)private static ClassFile.StackMapTableAttribute.VerificationTypeInfo[]loadVerificationTypeInfos(java.io.DataInputStream dis, int number, ClassFile classFile)protected voidstoreBody(java.io.DataOutputStream dos)Writes the body of this attribute in an attribute-type dependent way; see JVMS7 4.7.2 and following.private static voidstoreVerificationTypeInfos(ClassFile.StackMapTableAttribute.VerificationTypeInfo[] vtis, java.io.DataOutputStream dos)-
Methods inherited from class org.codehaus.janino.util.ClassFile.AttributeInfo
store
-
-
-
-
Field Detail
-
entries
private final ClassFile.StackMapTableAttribute.StackMapFrame[] entries
-
TOP_VARIABLE_INFO
public static final ClassFile.StackMapTableAttribute.VerificationTypeInfo TOP_VARIABLE_INFO
Representation of thetop_variable_infostructure; see JVMS8 4.7.4.
-
INTEGER_VARIABLE_INFO
public static final ClassFile.StackMapTableAttribute.VerificationTypeInfo INTEGER_VARIABLE_INFO
Representation of theinteger_variable_infostructure; see JVMS8 4.7.4.
-
FLOAT_VARIABLE_INFO
public static final ClassFile.StackMapTableAttribute.VerificationTypeInfo FLOAT_VARIABLE_INFO
Representation of thefloat_variable_infostructure; see JVMS8 4.7.4.
-
DOUBLE_VARIABLE_INFO
public static final ClassFile.StackMapTableAttribute.VerificationTypeInfo DOUBLE_VARIABLE_INFO
Representation of thedouble_variable_infostructure; see JVMS8 4.7.4.
-
LONG_VARIABLE_INFO
public static final ClassFile.StackMapTableAttribute.VerificationTypeInfo LONG_VARIABLE_INFO
Representation of thelong_variable_infostructure; see JVMS8 4.7.4.
-
NULL_VARIABLE_INFO
public static final ClassFile.StackMapTableAttribute.VerificationTypeInfo NULL_VARIABLE_INFO
Representation of thenull_variable_infostructure; see JVMS8 4.7.4.
-
UNINITIALIZED_THIS_VARIABLE_INFO
public static final ClassFile.StackMapTableAttribute.VerificationTypeInfo UNINITIALIZED_THIS_VARIABLE_INFO
Representation of theuninitialized_this_variable_infostructure; see JVMS8 4.7.4.
-
-
Constructor Detail
-
StackMapTableAttribute
public StackMapTableAttribute(short attributeNameIndex, ClassFile.StackMapTableAttribute.StackMapFrame[] entries)
-
-
Method Detail
-
loadBody
private static ClassFile.AttributeInfo loadBody(short attributeNameIndex, java.io.DataInputStream dis, ClassFile classFile) throws java.io.IOException
- Throws:
java.io.IOException
-
storeVerificationTypeInfos
private static void storeVerificationTypeInfos(ClassFile.StackMapTableAttribute.VerificationTypeInfo[] vtis, java.io.DataOutputStream dos) throws java.io.IOException
- Throws:
java.io.IOException
-
loadVerificationTypeInfos
private static ClassFile.StackMapTableAttribute.VerificationTypeInfo[] loadVerificationTypeInfos(java.io.DataInputStream dis, int number, ClassFile classFile) throws java.io.IOException
- Throws:
java.io.IOException
-
loadVerificationTypeInfo
private static ClassFile.StackMapTableAttribute.VerificationTypeInfo loadVerificationTypeInfo(java.io.DataInputStream dis, ClassFile classFile) throws java.io.IOException
- Throws:
java.io.IOException
-
storeBody
protected void storeBody(java.io.DataOutputStream dos) throws java.io.IOExceptionDescription copied from class:ClassFile.AttributeInfoWrites the body of this attribute in an attribute-type dependent way; see JVMS7 4.7.2 and following.- Specified by:
storeBodyin classClassFile.AttributeInfo- Throws:
java.io.IOException
-
-