org.objectweb.asm.attrs
Interface Dumpable

All Known Implementing Classes:
AnnotationDefaultAttribute, EnclosingMethodAttribute, RuntimeInvisibleAnnotations, RuntimeInvisibleParameterAnnotations, RuntimeVisibleAnnotations, RuntimeVisibleParameterAnnotations, SignatureAttribute, SourceDebugExtensionAttribute, StackMapAttribute

public interface Dumpable

Dumpable interface has to be implemented by the Attribute class in order to support DumpClassVisitor and DumpCodeVisitor. Implementation should print the ASM code that generates attribute data structures for current attribute state.

Author:
Eugene Kuleshov

Method Summary
 void dump(StringBuffer buf, String varName, Map labelNames)
          Dump attribute data into ASM code.
 

Method Detail

dump

public void dump(StringBuffer buf,
                 String varName,
                 Map labelNames)
Dump attribute data into ASM code.

Parameters:
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.