Class NameInfo

Direct Known Subclasses:
ModuleContent.TargetType

public class NameInfo extends Pair<Integer,String>
Wrapper for Pair class for keeping Name information that is the Constant Pool Index and Corresponding Name. Usually only one field is set if Option.CPX "CP index along with arguments" is used then cpIndex is set otherwise a name. Or manually changed jasm file has both Constant Pool entries and names
  • Constructor Details

    • NameInfo

      public NameInfo(Integer cpIndex, String name)
    • NameInfo

      public NameInfo()
  • Method Details

    • name

      public String name()
    • setName

      public NameInfo setName(String name)
    • cpIndex

      public int cpIndex()
    • setCpIndex

      public NameInfo setCpIndex(int index)
    • isEmpty

      public boolean isEmpty()