Interface MemberRefEntry

All Superinterfaces:
ClassfileElement, PoolEntry, WritableElement<PoolEntry>
All Known Subinterfaces:
FieldRefEntry, InterfaceMethodRefEntry, MethodRefEntry
All Known Implementing Classes:
AbstractPoolEntry.AbstractMemberRefEntry, AbstractPoolEntry.FieldRefEntryImpl, AbstractPoolEntry.InterfaceMethodRefEntryImpl, AbstractPoolEntry.MethodRefEntryImpl

Models a member reference constant in the constant pool of a classfile, which includes references to fields, methods, and interface methods.
  • 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