Package org.codehaus.janino.util
Class ClassFile.StackMapTableAttribute.ObjectVariableInfo
- java.lang.Object
-
- org.codehaus.janino.util.ClassFile.StackMapTableAttribute.ObjectVariableInfo
-
- All Implemented Interfaces:
ClassFile.StackMapTableAttribute.VerificationTypeInfo
- Enclosing class:
- ClassFile.StackMapTableAttribute
public static class ClassFile.StackMapTableAttribute.ObjectVariableInfo extends java.lang.Object implements ClassFile.StackMapTableAttribute.VerificationTypeInfo
Representation of theobject_variable_info
structure; see JVMS8 4.7.4.
-
-
Constructor Summary
Constructors Constructor Description ObjectVariableInfo(short constantClassInfoIndex, java.lang.String fieldDescriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
category()
boolean
equals(java.lang.Object obj)
short
getConstantClassInfoIndex()
int
hashCode()
void
store(java.io.DataOutputStream dos)
Writes this object to anOutputStream
, in "class file" format.java.lang.String
toString()
-
-
-
Method Detail
-
getConstantClassInfoIndex
public short getConstantClassInfoIndex()
-
category
public int category()
- Specified by:
category
in interfaceClassFile.StackMapTableAttribute.VerificationTypeInfo
- Returns:
- The category of the type (1 or 2) (JVMS11 2.11.1)
-
store
public void store(java.io.DataOutputStream dos) throws java.io.IOException
Description copied from interface:ClassFile.StackMapTableAttribute.VerificationTypeInfo
Writes this object to anOutputStream
, in "class file" format.- Specified by:
store
in interfaceClassFile.StackMapTableAttribute.VerificationTypeInfo
- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(@Nullable java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-