public class BoundsInitializer extends Object
| Constructor and Description |
|---|
BoundsInitializer() |
| Modifier and Type | Method and Description |
|---|---|
static void |
abortIfParentNotKind(TypeKind typeKind,
AnnotatedTypeMirror.AnnotatedTypeVariable type,
AnnotatedTypeMirror parent) |
static void |
initializeBounds(AnnotatedTypeMirror.AnnotatedTypeVariable typeVar)
Create the entire lower bound and upper bound, with no missing information, for typeVar.
|
static void |
initializeExtendsBound(AnnotatedTypeMirror.AnnotatedWildcardType wildcard)
Create the entire extends bound, with no missing information, for wildcard.
|
static void |
initializeSuperBound(AnnotatedTypeMirror.AnnotatedWildcardType wildcard)
Create the entire super bound, with no missing information, for wildcard.
|
public static void initializeBounds(AnnotatedTypeMirror.AnnotatedTypeVariable typeVar)
typeVar - The type variable whose lower bound is being initializedpublic static void initializeSuperBound(AnnotatedTypeMirror.AnnotatedWildcardType wildcard)
wildcard - The wildcard whose lower bound is being initializedpublic static void initializeExtendsBound(AnnotatedTypeMirror.AnnotatedWildcardType wildcard)
wildcard - The wildcard whose extends bound is being initializedpublic static void abortIfParentNotKind(TypeKind typeKind, AnnotatedTypeMirror.AnnotatedTypeVariable type, AnnotatedTypeMirror parent)