| Modifier and Type | Class and Description |
|---|---|
| public static record | |
| public static record |
| Modifier and Type | Field and Description |
|---|---|
| private final MethodRef |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public MethodRef | |
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| decl | back to summary |
|---|---|
| private final MethodRef decl Record Component accessed by decl(). | |
| NativeMethodDecl | back to summary |
|---|---|
| public NativeMethodDecl(MethodRef decl) | |
| decl | back to summary |
|---|---|
| public MethodRef decl() Record Component getter of decl. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |
| Modifier and Type | Field and Description |
|---|---|
| private final SortedSet | referees
Record Component accessed by referees(). |
| private final MethodRef | referent
Record Component accessed by referent(). |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public SortedSet | |
| public MethodRef | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| referees | back to summary |
|---|---|
| private final SortedSet<MethodRef> referees Record Component accessed by referees(). | |
| referent | back to summary |
|---|---|
| private final MethodRef referent Record Component accessed by referent(). | |
| RestrictedMethodRefs | back to summary |
|---|---|
| public RestrictedMethodRefs(MethodRef referent, SortedSet<MethodRef> referees) | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| referees | back to summary |
|---|---|
| public SortedSet Record Component getter of referees. | |
| referent | back to summary |
|---|---|
| public MethodRef referent() Record Component getter of referent. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |