class file, which include references to
fields, class methods,
and interface methods.
Different types of symbolic references to a member of a class or interface
bear structural similarities and share parts of the resolution processes, and
they can sometimes appear in the same locations. For example, both MethodRefEntry and InterfaceMethodRefEntry can appear in an invokestatic instruction.
A member reference entry is composite:
MemberRefEntry( ClassEntry owner, NameAndTypeEntry nameAndType )
CONSTANT_Fieldref_info, CONSTANT_Methodref_info, and CONSTANT_InterfaceMethodref_info Structures
| Modifier and Type | Method and Description |
|---|---|
| public default Utf8Entry | |
| public NameAndTypeEntry | Returns: the name and descriptor string of the memberReturns the name and descriptor string of the member. |
| public ClassEntry | Returns: the class or interface which this member belongs toReturns the class or interface which this member belongs to. |
| public default Utf8Entry |
| name | back to summary |
|---|---|
| public default Utf8Entry name() Returns the name of the member.
| |
| nameAndType | back to summary |
|---|---|
| public NameAndTypeEntry nameAndType() Returns the name and descriptor string of the member.
| |
| owner | back to summary |
|---|---|
| public ClassEntry owner() Returns the class or interface which this member belongs to.
| |
| type | back to summary |
|---|---|
| public default Utf8Entry type() Returns the descriptor string of the member. This is a field descriptor
string if this entry is a API Note Each subinterface defines a
| |