public class BootstrapMethodInfoAdder extends java.lang.Object implements BootstrapMethodInfoVisitor
BootstrapMethodInfoVisitor adds all bootstrap methods that it visits to
the given target bootstrap methods attribute.| Constructor and Description |
|---|
BootstrapMethodInfoAdder(ProgramClass targetClass,
BootstrapMethodsAttribute targetBootstrapMethodsAttribute)
Creates a new BootstrapMethodInfoAdder that will copy bootstrap methods
into the given bootstrap methods attribute.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBootstrapMethodIndex()
Returns the index of the most recently added bootstrap method.
|
void |
visitBootstrapMethodInfo(Clazz clazz,
BootstrapMethodInfo bootstrapMethodInfo) |
public BootstrapMethodInfoAdder(ProgramClass targetClass, BootstrapMethodsAttribute targetBootstrapMethodsAttribute)
public int getBootstrapMethodIndex()
public void visitBootstrapMethodInfo(Clazz clazz, BootstrapMethodInfo bootstrapMethodInfo)
visitBootstrapMethodInfo in interface BootstrapMethodInfoVisitor