StackMappublic final class StackMap extends Attribute implements NodeThis class represents a stack map attribute used for
preverification of Java classes for the Java 2 Micro Edition
(J2ME). This attribute is used by the KVM and contained
within the Code attribute of a method. See CLDC specification
5.3.1.2 |
Fields Summary |
---|
private int | map_length | private StackMapEntry[] | map |
Constructors Summary |
---|
public StackMap(int name_index, int length, StackMapEntry[] map, ConstantPool constant_pool)
super(Constants.ATTR_STACK_MAP, name_index, length, constant_pool);
setStackMap(map);
| StackMap(int name_index, int length, DataInputStream file, ConstantPool constant_pool)Construct object from file stream.
this(name_index, length, (StackMapEntry[])null, constant_pool);
map_length = file.readUnsignedShort();
map = new StackMapEntry[map_length];
for(int i=0; i < map_length; i++)
map[i] = new StackMapEntry(file, constant_pool);
|
|