-
- 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.
-
-
Method Summary
Modifier and Type Method Description final Class<T>getEnumClass()The class of the enum final StringgetName()A name for the enum for use in error messages final TgetFromTag(Integer tag)Get the enum instance for the specified bytecode tag. -
-
Method Detail
-
getEnumClass
final Class<T> getEnumClass()
The class of the enum
-
getFromTag
final T getFromTag(Integer tag)
Get the enum instance for the specified bytecode tag.
-
-
-
-