Class BootstrapMethods
java.lang.Object
org.aspectj.apache.bcel.classfile.Attribute
org.aspectj.apache.bcel.classfile.BootstrapMethods
- All Implemented Interfaces:
Serializable
,Cloneable
,Node
Represents the BootstrapMethods attribute in Java 7 classes.
- Author:
- Andy Clement
- See Also:
- Serialized Form
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBootstrapMethods(int nameIndex, int length, BootstrapMethods.BootstrapMethod[] lineNumberTable, ConstantPool constantPool)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept(ClassVisitor v)
Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class.void
dump(DataOutputStream file)
Dump line number table attribute to file stream in binary format.int
void
setBootstrapMethods(BootstrapMethods.BootstrapMethod[] bootstrapMethods)
toString()
Methods inherited from class org.aspectj.apache.bcel.classfile.Attribute
getConstantPool, getLength, getName, getNameIndex, getTag, readAttribute
-
Constructor Details
-
BootstrapMethods
-
BootstrapMethods
public BootstrapMethods(int nameIndex, int length, BootstrapMethods.BootstrapMethod[] lineNumberTable, ConstantPool constantPool)
-
-
Method Details
-
setBootstrapMethods
-
accept
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. -
dump
Dump line number table attribute to file stream in binary format.- Overrides:
dump
in classAttribute
- Parameters:
file
- Output file stream- Throws:
IOException
-
getBootstrapMethods
-
toString
-
getNumBootstrapMethods
public final int getNumBootstrapMethods()- Returns:
- deep copy of this attribute
-