org.objectweb.asm.util.attrs
Interface ASMifiable
- ASMAnnotationDefaultAttribute, ASMEnclosingMethodAttribute, ASMLocalVariableTypeTableAttribute, ASMRuntimeInvisibleAnnotations, ASMRuntimeInvisibleParameterAnnotations, ASMRuntimeVisibleAnnotations, ASMRuntimeVisibleParameterAnnotations, ASMSignatureAttribute, ASMSourceDebugExtensionAttribute, ASMStackMapAttribute
public interface ASMifiable
An attribute that can print the ASM code to create an equivalent attribute.
Implementation should print the ASM code that generates
attribute data structures for current attribute state.
void | asmify(StringBuffer buf, String varName, Map labelNames) - Prints the ASM code to create an attribute equal to this attribute.
|
asmify
public void asmify(StringBuffer buf,
String varName,
Map labelNames)
Prints the ASM code to create an attribute equal to this attribute.
buf
- A buffer used for printing Java code.varName
- name of the variable in a printed code used to store
attribute instance.labelNames
- map of label instances to their names.