Klasse BootstrapMethods

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

public final class BootstrapMethods extends Attribute
Represents the BootstrapMethods attribute in Java 7 classes.
Autor:
Andy Clement
Siehe auch:
  • Konstruktordetails

  • Methodendetails

    • setBootstrapMethods

      public final void setBootstrapMethods(BootstrapMethods.BootstrapMethod[] bootstrapMethods)
    • 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
    • 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
    • getBootstrapMethods

      public final BootstrapMethods.BootstrapMethod[] getBootstrapMethods()
    • toString

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

      public final int getNumBootstrapMethods()
      Gibt zurück:
      deep copy of this attribute