Klasse StackMap

java.lang.Object
org.aspectj.apache.bcel.classfile.Attribute
org.aspectj.apache.bcel.classfile.StackMap
Alle implementierten Schnittstellen:
Serializable, Cloneable, Node

public final class StackMap extends Attribute
This 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
Version:
$Id: StackMap.java,v 1.6 2009/09/15 19:40:12 aclement Exp $
Autor:
M. Dahm
Siehe auch:
  • Konstruktordetails

  • Methodendetails

    • dump

      public final void dump(DataOutputStream file) throws IOException
      Dump line number table attribute to file stream in binary format.
      Setzt außer Kraft:
      dump in Klasse Attribute
      Parameter:
      file - Output file stream
      Löst aus:
      IOException
    • getStackMap

      public final StackMapEntry[] getStackMap()
      Gibt zurück:
      Array of stack map entries
    • setStackMap

      public final void setStackMap(StackMapEntry[] map)
      Parameter:
      map - Array of stack map entries
    • toString

      public final String toString()
      Setzt außer Kraft:
      toString in Klasse Attribute
      Gibt zurück:
      String representation.
    • accept

      public void accept(ClassVisitor v)
      Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects.
      Angegeben von:
      accept in Schnittstelle Node
      Angegeben von:
      accept in Klasse Attribute
      Parameter:
      v - Visitor object
    • getMapLength

      public final int getMapLength()