Record Class JStubMember
java.lang.Object
java.lang.Record
honeyroasted.jypestub.model.types.JStubMember
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionJStubMember(String def, Set<AccessFlag> flags) Creates an instance of aJStubMemberrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondef()Returns the value of thedefrecord component.final booleanIndicates whether some other object is "equal to" this one.flags()Returns the value of theflagsrecord component.final inthashCode()Returns a hash code value for this object.static JStubMemberof(honeyroasted.jype.type.JFieldReference jfr) static JStubMemberof(honeyroasted.jype.type.JMethodReference jmr) final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
JStubMember
Creates an instance of aJStubMemberrecord class.- Parameters:
def- the value for thedefrecord componentflags- the value for theflagsrecord component
-
-
Method Details
-
of
-
of
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
def
Returns the value of thedefrecord component.- Returns:
- the value of the
defrecord component
-
flags
Returns the value of theflagsrecord component.- Returns:
- the value of the
flagsrecord component
-