Package 

Class Lookup

  • All Implemented Interfaces:

    
    public abstract class Lookup<T extends Enum<T>, ClassFileEnum>
    
                        

    Base class for companion objects that facilitates fast bytecode to enum instance lookups.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      Lookup(Class<T> enumClass, String name)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Class<T> getEnumClass() The class of the enum
      final String getName() A name for the enum for use in error messages
      final T getFromTag(Integer tag) Get the enum instance for the specified bytecode tag.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait