Interface ASMifiable


  • public interface ASMifiable
    An Attribute that can print the ASM code to create an equivalent attribute.
    Author:
    Eugene Kuleshov
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void asmify​(java.lang.StringBuffer buf, java.lang.String varName, java.util.Map<Label,​java.lang.String> labelNames)
      Prints the ASM code to create an attribute equal to this attribute.
    • Method Detail

      • asmify

        void asmify​(java.lang.StringBuffer buf,
                    java.lang.String varName,
                    java.util.Map<Label,​java.lang.String> labelNames)
        Prints the ASM code to create an attribute equal to this attribute.
        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.