Record Class MethodProcessingData
java.lang.Object
java.lang.Record
io.github.imagineDevit.giwt.annotations.processors.MethodProcessingData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.static MethodProcessingDatafrom(ExecutableElement method) final inthashCode()Returns a hash code value for this object.Returns the value of themethodNamerecord component.Returns the value of themethodReturnTyperecord component.Returns the value of theparamNamerecord component.Returns the value of theparamRecordNamerecord component.Returns the value of theparamsValuesrecord component.Returns the value of theparamsWithTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MethodProcessingData
public MethodProcessingData(String methodName, String methodReturnType, String paramRecordName, String paramName, String paramsWithType, String paramsValues) Creates an instance of aMethodProcessingDatarecord class.- Parameters:
methodName- the value for themethodNamerecord componentmethodReturnType- the value for themethodReturnTyperecord componentparamRecordName- the value for theparamRecordNamerecord componentparamName- the value for theparamNamerecord componentparamsWithType- the value for theparamsWithTyperecord componentparamsValues- the value for theparamsValuesrecord component
-
-
Method Details
-
from
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
methodName
Returns the value of themethodNamerecord component.- Returns:
- the value of the
methodNamerecord component
-
methodReturnType
Returns the value of themethodReturnTyperecord component.- Returns:
- the value of the
methodReturnTyperecord component
-
paramRecordName
Returns the value of theparamRecordNamerecord component.- Returns:
- the value of the
paramRecordNamerecord component
-
paramName
Returns the value of theparamNamerecord component.- Returns:
- the value of the
paramNamerecord component
-
paramsWithType
Returns the value of theparamsWithTyperecord component.- Returns:
- the value of the
paramsWithTyperecord component
-
paramsValues
Returns the value of theparamsValuesrecord component.- Returns:
- the value of the
paramsValuesrecord component
-