Class AnnotatedTypes.TypeArguments
java.lang.Object
org.checkerframework.framework.util.AnnotatedTypes.TypeArguments
- Enclosing class:
AnnotatedTypes
Class representing type arguments for a method, constructor, or method reference expression.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal boolean
True if type argument inference crashed.final Map
<TypeVariable, AnnotatedTypeMirror> A mapping fromTypeVariable
to its annotated type argument.final boolean
True if unchecked conversion was needed for inference. -
Constructor Summary
ConstructorsConstructorDescriptionTypeArguments
(Map<TypeVariable, AnnotatedTypeMirror> typeArguments, boolean uncheckedConversion, boolean inferenceCrash) Creates aAnnotatedTypes.TypeArguments
object. -
Method Summary
-
Field Details
-
typeArguments
A mapping fromTypeVariable
to its annotated type argument. -
uncheckedConversion
public final boolean uncheckedConversionTrue if unchecked conversion was needed for inference. -
inferenceCrash
public final boolean inferenceCrashTrue if type argument inference crashed.
-
-
Constructor Details
-
TypeArguments
public TypeArguments(Map<TypeVariable, AnnotatedTypeMirror> typeArguments, boolean uncheckedConversion, boolean inferenceCrash) Creates aAnnotatedTypes.TypeArguments
object.- Parameters:
typeArguments
- a mapping fromTypeVariable
to its annotated type argumentuncheckedConversion
- true if unchecked conversion was needed for inferenceinferenceCrash
- true if type argument inference crashed
-