FileDocCategorySizeDatePackage
StackMapType.javaAPI DocGlassfish v2 API3438Thu Mar 02 11:51:14 GMT 2006oracle.toplink.libraries.asm.attrs

StackMapType

public class StackMapType extends Object
Verification type info used by {@link StackMapAttribute}.
see
JSR 139 : Connected Limited Device Configuration 1.1
author
Eugene Kuleshov

Fields Summary
public static final int
ITEM_Top
public static final int
ITEM_Integer
public static final int
ITEM_Float
public static final int
ITEM_Double
public static final int
ITEM_Long
public static final int
ITEM_Null
public static final int
ITEM_UninitializedThis
public static final int
ITEM_Object
public static final int
ITEM_Uninitialized
public static final String[]
ITEM_NAMES
private int
type
private Label
offset
private String
object
Constructors Summary
private StackMapType(int type)


      
    this.type = type;
  
Methods Summary
public oracle.toplink.libraries.asm.LabelgetLabel()

    return offset;
  
public java.lang.StringgetObject()

    return object;
  
public intgetType()

    return type;
  
public static oracle.toplink.libraries.asm.attrs.StackMapTypegetTypeInfo(int itemType)

    return new StackMapType(itemType);
  
public voidsetLabel(oracle.toplink.libraries.asm.Label offset)

    this.offset = offset;
  
public voidsetObject(java.lang.String object)

    this.object = object;
  
public java.lang.StringtoString()

    StringBuffer sb = new StringBuffer(ITEM_NAMES[type]);
    if (type == ITEM_Object) {
      sb.append(":").append(object);
    }
    if (type == ITEM_Uninitialized) {
      sb.append(":L").append(System.identityHashCode(offset));
    }
    return sb.toString();