Record Class JSignature.IntersectionType
java.lang.Object
java.lang.Record
honeyroasted.jype.metadata.signature.JSignature.IntersectionType
- All Implemented Interfaces:
JSignature,JSignature.InformalType
- Enclosing interface:
JSignature
public static record JSignature.IntersectionType(List<JSignature.InformalType> types)
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
ConstructorsConstructorDescriptionCreates an instance of aIntersectionTyperecord class. -
Method Summary
-
Constructor Details
-
IntersectionType
Creates an instance of aIntersectionTyperecord class.- Parameters:
types- the value for thetypesrecord 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). -
types
Returns the value of thetypesrecord component.- Returns:
- the value of the
typesrecord component
-