java.lang.Object
org.objectweb.asm.Label
org.glassfish.pfl.dynamic.codegen.impl.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
     
    private boolean
     
    private static int
     

    Fields inherited from class org.objectweb.asm.Label

    info
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
    emitted(boolean flag)
     
     

    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 Details

    • next

      private static int next
    • current

      private int current
    • emitted

      private boolean emitted
  • Constructor Details

    • MyLabel

      public MyLabel()
  • Method Details

    • emitted

      public boolean emitted()
    • emitted

      public void emitted(boolean flag)
    • toString

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