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
Nested Classes -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionBootstrapMethods(int nameIndex, int length, BootstrapMethods.BootstrapMethod[] lineNumberTable, ConstantPool constantPool) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ClassVisitor v)Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class.voiddump(DataOutputStream file)Dump line number table attribute to file stream in binary format.intvoidsetBootstrapMethods(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:
dumpin classAttribute- Parameters:
file- Output file stream- Throws:
IOException
-
getBootstrapMethods
-
toString
-
getNumBootstrapMethods
public final int getNumBootstrapMethods()- Returns:
- deep copy of this attribute
-