Record Class JTypeParameterLocation
java.lang.Object
java.lang.Record
honeyroasted.jype.metadata.location.JTypeParameterLocation
public record JTypeParameterLocation(JGenericDeclarationLocation containing, String name)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionJTypeParameterLocation(JGenericDeclarationLocation containing, String name) Creates an instance of aJTypeParameterLocationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecontainingrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanname()Returns the value of thenamerecord component.static JTypeParameterLocationof(GenericDeclaration declaration, String name) static JTypeParameterLocationof(TypeVariable<?> tVar) toString()Returns a string representation of this record class.
-
Constructor Details
-
JTypeParameterLocation
Creates an instance of aJTypeParameterLocationrecord class.- Parameters:
containing- the value for thecontainingrecord componentname- the value for thenamerecord component
-
-
Method Details
-
of
-
of
-
isVirtual
public boolean isVirtual() -
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). -
containing
Returns the value of thecontainingrecord component.- Returns:
- the value of the
containingrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-