Record Class JExpressionInformation.InvocationReference.Simple<T extends honeyroasted.almonds.SimpleName>
java.lang.Object
java.lang.Record
honeyroasted.jype.system.JExpressionInformation.InvocationReference.Simple<T>
- All Implemented Interfaces:
honeyroasted.almonds.SimpleName,JExpressionInformation,JExpressionInformation.InvocationReference<T>
- Enclosing interface:
JExpressionInformation.InvocationReference<T extends honeyroasted.almonds.SimpleName>
public static record JExpressionInformation.InvocationReference.Simple<T extends honeyroasted.almonds.SimpleName>(T extends honeyroasted.almonds.SimpleName source, String methodName, List<JArgumentType> explicitTypeArguments)
extends Record
implements JExpressionInformation.InvocationReference<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface honeyroasted.jype.system.JExpressionInformation
JExpressionInformation.Constant, JExpressionInformation.GetField<T extends honeyroasted.almonds.SimpleName>, JExpressionInformation.Instantiation, JExpressionInformation.InstantiationReference, JExpressionInformation.Invocation, JExpressionInformation.InvocationReference<T extends honeyroasted.almonds.SimpleName>, JExpressionInformation.Lambda, JExpressionInformation.MethodInvocation<T extends honeyroasted.almonds.SimpleName>, JExpressionInformation.Multi, JExpressionInformation.SimplyTypedNested classes/interfaces inherited from interface honeyroasted.jype.system.JExpressionInformation.InvocationReference
JExpressionInformation.InvocationReference.Simple<T extends honeyroasted.almonds.SimpleName> -
Constructor Summary
ConstructorsConstructorDescriptionSimple(T source, String methodName, List<JArgumentType> explicitTypeArguments) Creates an instance of aSimplerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexplicitTypeArgumentsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themethodNamerecord component.source()Returns the value of thesourcerecord component.toString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface honeyroasted.jype.system.JExpressionInformation
getSimpleType, isSimplyTyped
-
Constructor Details
-
Simple
Creates an instance of aSimplerecord class.- Parameters:
source- the value for thesourcerecord componentmethodName- the value for themethodNamerecord componentexplicitTypeArguments- the value for theexplicitTypeArgumentsrecord component
-
-
Method Details
-
simpleName
- Specified by:
simpleNamein interfacehoneyroasted.almonds.SimpleName
-
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). -
source
Returns the value of thesourcerecord component.- Specified by:
sourcein interfaceJExpressionInformation.InvocationReference<T extends honeyroasted.almonds.SimpleName>- Returns:
- the value of the
sourcerecord component
-
methodName
Returns the value of themethodNamerecord component.- Specified by:
methodNamein interfaceJExpressionInformation.InvocationReference<T extends honeyroasted.almonds.SimpleName>- Returns:
- the value of the
methodNamerecord component
-
explicitTypeArguments
Returns the value of theexplicitTypeArgumentsrecord component.- Specified by:
explicitTypeArgumentsin interfaceJExpressionInformation.InvocationReference<T extends honeyroasted.almonds.SimpleName>- Returns:
- the value of the
explicitTypeArgumentsrecord component
-