org.netbeans.modules.classfile/1 1.35

org.netbeans.modules.classfile
Class VerificationTypeInfo

java.lang.Object
  extended by org.netbeans.modules.classfile.VerificationTypeInfo
Direct Known Subclasses:
VerificationTypeInfo.DoubleVariableInfo, VerificationTypeInfo.FloatVariableInfo, VerificationTypeInfo.IntegerVariableInfo, VerificationTypeInfo.LongVariableInfo, VerificationTypeInfo.NullVariableInfo, VerificationTypeInfo.ObjectVariableInfo, VerificationTypeInfo.TopVariableInfo, VerificationTypeInfo.UninitializedThisVariableInfo, VerificationTypeInfo.UninitializedVariableInfo

public abstract class VerificationTypeInfo
extends Object

VerificationTypeInfo structure, which is defined as a C-like union in the Java Virtual Machine Specification, section 4.8.4, and is used to define stack map frame structures. To map this union to Java classes, this class is abstract and has a separate public subclass for each union member. The verification type can be determined either by the its frame_type or using an instanceof test.


Nested Class Summary
static class VerificationTypeInfo.DoubleVariableInfo
          A Double_variable_info type, which indicates that the location contains the verification type double.
static class VerificationTypeInfo.FloatVariableInfo
          A Float_variable_info type, which indicates that the location contains the verification type float.
static class VerificationTypeInfo.IntegerVariableInfo
          A Integer_variable_info type, which indicates that the location contains the verification type int.
static class VerificationTypeInfo.LongVariableInfo
          A Long_variable_info type, which indicates that the location contains the verification type long.
static class VerificationTypeInfo.NullVariableInfo
          A Null_variable_info type, which indicates that the location contains the verification type null.
static class VerificationTypeInfo.ObjectVariableInfo
          An Object_variable_info type, which indicates that the location contains an instance of the class referenced by the constant pool entry.
static class VerificationTypeInfo.TopVariableInfo
          A Top_variable_info type, which indicates that the local variable has the verification type top.
static class VerificationTypeInfo.UninitializedThisVariableInfo
          A UninitializedThis_variable_info type, which indicates that the location contains the verification type uninitializedThis.
static class VerificationTypeInfo.UninitializedVariableInfo
          An Uninitialized_variable_info type, which indicates that the location contains the verification type uninitialized(offset).
 
Field Summary
static int ITEM_Double
          Verification type double.
static int ITEM_Float
          Verification type float.
static int ITEM_Integer
          Verification type int.
static int ITEM_Long
          Verification type long.
static int ITEM_Null
          Verification type null.
static int ITEM_Object
          Verification type object.
static int ITEM_Top
          Verification type top.
static int ITEM_Uninitialized
          Verification type uninitialized.
static int ITEM_UninitializedThis
          Verification type uninitializedThis.
 
Method Summary
 int getTag()
          Returns the structure's tag, which specifies its type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ITEM_Top

public static final int ITEM_Top
Verification type top.

See Also:
Constant Field Values

ITEM_Integer

public static final int ITEM_Integer
Verification type int.

See Also:
Constant Field Values

ITEM_Float

public static final int ITEM_Float
Verification type float.

See Also:
Constant Field Values

ITEM_Double

public static final int ITEM_Double
Verification type double.

See Also:
Constant Field Values

ITEM_Long

public static final int ITEM_Long
Verification type long.

See Also:
Constant Field Values

ITEM_Null

public static final int ITEM_Null
Verification type null.

See Also:
Constant Field Values

ITEM_UninitializedThis

public static final int ITEM_UninitializedThis
Verification type uninitializedThis.

See Also:
Constant Field Values

ITEM_Object

public static final int ITEM_Object
Verification type object.

See Also:
Constant Field Values

ITEM_Uninitialized

public static final int ITEM_Uninitialized
Verification type uninitialized.

See Also:
Constant Field Values
Method Detail

getTag

public int getTag()
Returns the structure's tag, which specifies its type. This tag is a value between 0 and 8, as defined by the ITEM_* constants in this class. (When Java 5 is the minimum JVM for NetBeans, these constants can be replaced with an enum.)


org.netbeans.modules.classfile/1 1.35

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.