Record Class CataloguePanel.ClassMemberPayload
java.lang.Object
java.lang.Record
de.luckymcdev.foundryengine.client.editor.panel.tools.CataloguePanel.ClassMemberPayload
- Enclosing class:
CataloguePanel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanisField()booleanisMethod()Returns the value of thememberNamerecord component.Returns the value of thememberTyperecord component.String[]Returns the value of theparamTypesrecord component.Returns the value of thereturnTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ClassMemberPayload
public ClassMemberPayload(String className, String memberName, String memberType, String[] paramTypes, String returnType) Creates an instance of aClassMemberPayloadrecord class.- Parameters:
className- the value for theclassNamerecord componentmemberName- the value for thememberNamerecord componentmemberType- the value for thememberTyperecord componentparamTypes- the value for theparamTypesrecord componentreturnType- the value for thereturnTyperecord component
-
-
Method Details
-
isMethod
public boolean isMethod() -
isField
public boolean isField() -
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). -
className
Returns the value of theclassNamerecord component.- Returns:
- the value of the
classNamerecord component
-
memberName
Returns the value of thememberNamerecord component.- Returns:
- the value of the
memberNamerecord component
-
memberType
Returns the value of thememberTyperecord component.- Returns:
- the value of the
memberTyperecord component
-
paramTypes
Returns the value of theparamTypesrecord component.- Returns:
- the value of the
paramTypesrecord component
-
returnType
Returns the value of thereturnTyperecord component.- Returns:
- the value of the
returnTyperecord component
-