Interface MemberRefEntry

All Superinterfaces:
PoolEntry
All Known Subinterfaces:
FieldRefEntry, InterfaceMethodRefEntry, MethodRefEntry

public sealed interface MemberRefEntry extends PoolEntry permits FieldRefEntry, InterfaceMethodRefEntry, MethodRefEntry (not exhaustive)
Models a member reference constant in the constant pool of a classfile, which includes references to fields, methods, and interface methods.
Sealed Class Hierarchy Graph:
Sealed class hierarchy graph for MemberRefEntrySealed class hierarchy graph for MemberRefEntry
Since:
24
  • Method Details

    • owner

      ClassEntry owner()
      Returns the class in which this member ref lives.
      Returns:
      the class in which this member ref lives
    • nameAndType

      NameAndTypeEntry nameAndType()
      Returns the name and type of the member.
      Returns:
      the name and type of the member
    • name

      default Utf8Entry name()
      Returns the name of the member.
      Returns:
      the name of the member
    • type

      default Utf8Entry type()
      Returns the type of the member.
      Returns:
      the type of the member