Record Class JSignature.VarType
java.lang.Object
java.lang.Record
honeyroasted.jype.metadata.signature.JSignature.VarType
- All Implemented Interfaces:
JSignature,JSignature.InformalType
- Enclosing interface:
JSignature
public static record JSignature.VarType(String name)
extends Record
implements JSignature.InformalType
-
Nested Class Summary
Nested classes/interfaces inherited from interface honeyroasted.jype.metadata.signature.JSignature
JSignature.Array, JSignature.ClassDeclaration, JSignature.Declaration, JSignature.Declared, JSignature.GenericDeclaration, JSignature.InformalType, JSignature.IntersectionType, JSignature.MethodDeclaration, JSignature.Parameterized, JSignature.Type, JSignature.VarType, JSignature.VarTypeDeclaration, JSignature.WildType -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
VarType
Creates an instance of aVarTyperecord class.- Parameters:
name- the value for thenamerecord component
-
-
Method Details
-
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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-