Record Class AnnotatedTypeFactory.ParameterizedExecutableType
java.lang.Object
java.lang.Record
org.checkerframework.framework.type.AnnotatedTypeFactory.ParameterizedExecutableType
- Record Components:
executableType- the method's/constructor's type.typeArgs- the types of the generic type arguments
- Enclosing class:
AnnotatedTypeFactory
public static record AnnotatedTypeFactory.ParameterizedExecutableType(AnnotatedTypeMirror.AnnotatedExecutableType executableType, List<AnnotatedTypeMirror> typeArgs)
extends Record
The type for an instantiated generic method or constructor.
-
Constructor Summary
ConstructorsConstructorDescriptionParameterizedExecutableType(AnnotatedTypeMirror.AnnotatedExecutableType executableType, List<AnnotatedTypeMirror> typeArgs) Create a ParameterizedExecutableType. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexecutableTyperecord component.final inthashCode()Returns a hash code value for this object.toString()Returns a string representation of this record class.typeArgs()Returns the value of thetypeArgsrecord component.
-
Constructor Details
-
ParameterizedExecutableType
public ParameterizedExecutableType(AnnotatedTypeMirror.AnnotatedExecutableType executableType, List<AnnotatedTypeMirror> typeArgs) Create a ParameterizedExecutableType.
-
-
Method Details
-
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. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
executableType
Returns the value of theexecutableTyperecord component.- Returns:
- the value of the
executableTyperecord component
-
typeArgs
Returns the value of thetypeArgsrecord component.- Returns:
- the value of the
typeArgsrecord component
-