Record Class ParameterizedTypeImpl
java.lang.Object
java.lang.Record
name.martingeisse.grumpyjson.util.ParameterizedTypeImpl
- Record Components:
owner- ...raw- ...arguments- ...
- All Implemented Interfaces:
ParameterizedType,Type
public record ParameterizedTypeImpl(Type owner, Type raw, Type[] arguments)
extends Record
implements ParameterizedType
NOT PUBLIC API
-
Constructor Summary
ConstructorsConstructorDescriptionParameterizedTypeImpl(Type owner, Type raw, Type... arguments) NOT PUBLIC API -
Method Summary
Modifier and TypeMethodDescriptionType[]Returns the value of theargumentsrecord component.booleanIndicates whether some other object is "equal to" this one.Type[]inthashCode()Returns a hash code value for this object.owner()Returns the value of theownerrecord component.raw()Returns the value of therawrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.reflect.Type
getTypeName
-
Constructor Details
-
ParameterizedTypeImpl
NOT PUBLIC API- Parameters:
owner- ...raw- ...arguments- ...
-
-
Method Details
-
getActualTypeArguments
- Specified by:
getActualTypeArgumentsin interfaceParameterizedType
-
getRawType
- Specified by:
getRawTypein interfaceParameterizedType
-
getOwnerType
- Specified by:
getOwnerTypein interfaceParameterizedType
-
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). -
hashCode
public int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. -
owner
Returns the value of theownerrecord component.- Returns:
- the value of the
ownerrecord component
-
raw
Returns the value of therawrecord component.- Returns:
- the value of the
rawrecord component
-
arguments
Returns the value of theargumentsrecord component.- Returns:
- the value of the
argumentsrecord component
-