Class AnnotatedTypes.TypeArguments

java.lang.Object
org.checkerframework.framework.util.AnnotatedTypes.TypeArguments
Enclosing class:
AnnotatedTypes

public static class AnnotatedTypes.TypeArguments extends Object
Class representing type arguments for a method, constructor, or method reference expression.
  • Field Details

    • typeArguments

      public final Map<TypeVariable,AnnotatedTypeMirror> typeArguments
      A mapping from TypeVariable to its annotated type argument.
    • uncheckedConversion

      public final boolean uncheckedConversion
      Whether unchecked conversion was needed for inference.
    • inferenceCrash

      public final boolean inferenceCrash
      Whether type argument inference crashed.
  • Constructor Details

    • TypeArguments

      public TypeArguments(Map<TypeVariable,AnnotatedTypeMirror> typeArguments, boolean uncheckedConversion, boolean inferenceCrash)
      Parameters:
      typeArguments - a mapping from TypeVariable to its annotated type argument
      uncheckedConversion - whether unchecked conversion was needed for inference
      inferenceCrash - whether type argument inference crashed