Class MyLabel


  • public class MyLabel
    extends org.objectweb.asm.Label
    This trivial class exists only to give a slightly more readable toString method for ASM labels. The ASM version simply uses the identity hashcode, which is a bit hard to read.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int current  
      private boolean emitted  
      private static int next  
      • Fields inherited from class org.objectweb.asm.Label

        info
    • Constructor Summary

      Constructors 
      Constructor Description
      MyLabel()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean emitted()  
      void emitted​(boolean flag)  
      java.lang.String toString()  
      • Methods inherited from class org.objectweb.asm.Label

        getOffset
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • next

        private static int next
      • current

        private int current
      • emitted

        private boolean emitted
    • Constructor Detail

      • MyLabel

        public MyLabel()
    • Method Detail

      • emitted

        public boolean emitted()
      • emitted

        public void emitted​(boolean flag)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class org.objectweb.asm.Label