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
Representation of an unmodifiable
StackMapTable
attribute, as read from a class file.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Representation of theappend_frame
structure; see JVMS8 4.7.4.static class
Representation of thechop_frame
structure; see JVMS8 4.7.4.static class
Representation of thefull_frame
structure; see JVMS8 4.7.4.static class
Representation of theobject_variable_info
structure; see JVMS8 4.7.4.static class
Representation of thesame_frame
structure; see JVMS8 4.7.4.static class
Representation of thesame_frame_extended
structure; see JVMS8 4.7.4.static class
Representation of thesame_locals_1_stack_item_frame
structure; see JVMS8 4.7.4.static class
Representation of thesame_locals_1_stack_item_frame_extended
structure; see JVMS8 4.7.4.static class
Representation of an entry in theClassFile.StackMapTableAttribute
.static interface
static class
Representation of theuninitialized_variable_info
structure; see JVMS8 4.7.4.static interface
Representation of theverification_type_info
union; see JVMS8 4.7.4. -
Field Summary
FieldsModifier and TypeFieldDescriptionRepresentation of thedouble_variable_info
structure; see JVMS8 4.7.4.private final ClassFile.StackMapTableAttribute.StackMapFrame[]
Representation of thefloat_variable_info
structure; see JVMS8 4.7.4.Representation of theinteger_variable_info
structure; see JVMS8 4.7.4.Representation of thelong_variable_info
structure; see JVMS8 4.7.4.Representation of thenull_variable_info
structure; see JVMS8 4.7.4.Representation of thetop_variable_info
structure; see JVMS8 4.7.4.Representation of theuninitialized_this_variable_info
structure; see JVMS8 4.7.4. -
Constructor Summary
ConstructorsConstructorDescriptionStackMapTableAttribute
(short attributeNameIndex, ClassFile.StackMapTableAttribute.StackMapFrame[] entries) -
Method Summary
Modifier and TypeMethodDescriptionprivate static ClassFile.AttributeInfo
loadBody
(short attributeNameIndex, DataInputStream dis, ClassFile classFile) private static ClassFile.StackMapTableAttribute.VerificationTypeInfo
loadVerificationTypeInfo
(DataInputStream dis, ClassFile classFile) private static ClassFile.StackMapTableAttribute.VerificationTypeInfo[]
loadVerificationTypeInfos
(DataInputStream dis, int number, ClassFile classFile) protected void
Writes the body of this attribute in an attribute-type dependent way; see JVMS7 4.7.2 and following.private static void
storeVerificationTypeInfos
(ClassFile.StackMapTableAttribute.VerificationTypeInfo[] vtis, DataOutputStream dos) Methods inherited from class org.codehaus.janino.util.ClassFile.AttributeInfo
store
-
Field Details
-
entries
-
TOP_VARIABLE_INFO
Representation of thetop_variable_info
structure; see JVMS8 4.7.4. -
INTEGER_VARIABLE_INFO
Representation of theinteger_variable_info
structure; see JVMS8 4.7.4. -
FLOAT_VARIABLE_INFO
Representation of thefloat_variable_info
structure; see JVMS8 4.7.4. -
DOUBLE_VARIABLE_INFO
Representation of thedouble_variable_info
structure; see JVMS8 4.7.4. -
LONG_VARIABLE_INFO
Representation of thelong_variable_info
structure; see JVMS8 4.7.4. -
NULL_VARIABLE_INFO
Representation of thenull_variable_info
structure; see JVMS8 4.7.4. -
UNINITIALIZED_THIS_VARIABLE_INFO
public static final ClassFile.StackMapTableAttribute.VerificationTypeInfo UNINITIALIZED_THIS_VARIABLE_INFORepresentation of theuninitialized_this_variable_info
structure; see JVMS8 4.7.4.
-
-
Constructor Details
-
StackMapTableAttribute
public StackMapTableAttribute(short attributeNameIndex, ClassFile.StackMapTableAttribute.StackMapFrame[] entries)
-
-
Method Details
-
loadBody
private static ClassFile.AttributeInfo loadBody(short attributeNameIndex, DataInputStream dis, ClassFile classFile) throws IOException - Throws:
IOException
-
storeVerificationTypeInfos
private static void storeVerificationTypeInfos(ClassFile.StackMapTableAttribute.VerificationTypeInfo[] vtis, DataOutputStream dos) throws IOException - Throws:
IOException
-
loadVerificationTypeInfos
private static ClassFile.StackMapTableAttribute.VerificationTypeInfo[] loadVerificationTypeInfos(DataInputStream dis, int number, ClassFile classFile) throws IOException - Throws:
IOException
-
loadVerificationTypeInfo
private static ClassFile.StackMapTableAttribute.VerificationTypeInfo loadVerificationTypeInfo(DataInputStream dis, ClassFile classFile) throws IOException - Throws:
IOException
-
storeBody
Description copied from class:ClassFile.AttributeInfo
Writes the body of this attribute in an attribute-type dependent way; see JVMS7 4.7.2 and following.- Specified by:
storeBody
in classClassFile.AttributeInfo
- Throws:
IOException
-