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
Modifier and TypeFieldDescriptionfinal boolean
Whether type argument inference crashed.final Map<TypeVariable,
AnnotatedTypeMirror> A mapping fromTypeVariable
to its annotated type argument.final boolean
Whether unchecked conversion was needed for inference. -
Constructor Summary
ConstructorDescriptionTypeArguments
(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 uncheckedConversionWhether unchecked conversion was needed for inference. -
inferenceCrash
public final boolean inferenceCrashWhether 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
- whether unchecked conversion was needed for inferenceinferenceCrash
- whether type argument inference crashed
-