Record Class JSignature.Parameterized
java.lang.Object
java.lang.Record
honeyroasted.jype.metadata.signature.JSignature.Parameterized
- All Implemented Interfaces:
JSignature,JSignature.InformalType
- Enclosing interface:
JSignature
public static record JSignature.Parameterized(JSignature.Parameterized outer, JSignature.Type type, List<JSignature.InformalType> parameters)
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
ConstructorsConstructorDescriptionParameterized(JSignature.Parameterized outer, JSignature.Type type, List<JSignature.InformalType> parameters) Creates an instance of aParameterizedrecord class.Parameterized(JSignature.Type type, List<JSignature.InformalType> parameters) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.outer()Returns the value of theouterrecord component.Returns the value of theparametersrecord component.toString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
Parameterized
-
Parameterized
public Parameterized(JSignature.Parameterized outer, JSignature.Type type, List<JSignature.InformalType> parameters) Creates an instance of aParameterizedrecord class.- Parameters:
outer- the value for theouterrecord componenttype- the value for thetyperecord componentparameters- the value for theparametersrecord 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). -
outer
Returns the value of theouterrecord component.- Returns:
- the value of the
outerrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
parameters
Returns the value of theparametersrecord component.- Returns:
- the value of the
parametersrecord component
-