Class CstMethodRef

All Implemented Interfaces:
TypeBearer, ToHuman, Comparable<Constant>

public final class CstMethodRef extends CstBaseMethodRef
Constants of type CONSTANT_Methodref_info.
  • Constructor Details

    • CstMethodRef

      public CstMethodRef(CstType definingClass, CstNat nat)
      Constructs an instance.
      Parameters:
      definingClass - non-null; the type of the defining class
      nat - non-null; the name-and-type
  • Method Details

    • typeName

      public String typeName()
      Returns the human name for the particular type of constant this instance is.
      Specified by:
      typeName in class Constant
      Returns:
      non-null; the name