Class TypeSimplifier.CastingUncheckedVisitor
java.lang.Object
javax.lang.model.util.AbstractTypeVisitor6<Boolean,Boolean>
javax.lang.model.util.SimpleTypeVisitor6<Boolean,Boolean>
javax.lang.model.util.SimpleTypeVisitor7<Boolean,Boolean>
javax.lang.model.util.SimpleTypeVisitor8<Boolean,Boolean>
com.google.auto.value.processor.TypeSimplifier.CastingUncheckedVisitor
- All Implemented Interfaces:
TypeVisitor<Boolean,Boolean>
- Enclosing class:
TypeSimplifier
private static class TypeSimplifier.CastingUncheckedVisitor
extends SimpleTypeVisitor8<Boolean,Boolean>
Visitor that tells whether a type is erased, in the sense of
TypeSimplifier.isCastingUnchecked(TypeMirror). Each
visitX method returns true if its input parameter is true or if the type being visited is
erased.-
Field Summary
Fields inherited from class SimpleTypeVisitor6
DEFAULT_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BooleandefaultAction(TypeMirror e, Boolean p) private static booleanisJavaLangObject(TypeMirror type) private booleanvisitArray(ArrayType t, Boolean p) visitDeclared(DeclaredType t, Boolean p) visitUnknown(TypeMirror t, Boolean p) Methods inherited from class SimpleTypeVisitor8
visitIntersectionMethods inherited from class SimpleTypeVisitor7
visitUnionMethods inherited from class SimpleTypeVisitor6
visitError, visitExecutable, visitNoType, visitNull, visitPrimitive, visitWildcardMethods inherited from class AbstractTypeVisitor6
visit, visit
-
Constructor Details
-
CastingUncheckedVisitor
private CastingUncheckedVisitor()
-
-
Method Details
-
defaultAction
- Overrides:
defaultActionin classSimpleTypeVisitor6<Boolean,Boolean>
-
visitUnknown
- Specified by:
visitUnknownin interfaceTypeVisitor<Boolean,Boolean> - Overrides:
visitUnknownin classAbstractTypeVisitor6<Boolean,Boolean>
-
visitArray
- Specified by:
visitArrayin interfaceTypeVisitor<Boolean,Boolean> - Overrides:
visitArrayin classSimpleTypeVisitor6<Boolean,Boolean>
-
visitDeclared
- Specified by:
visitDeclaredin interfaceTypeVisitor<Boolean,Boolean> - Overrides:
visitDeclaredin classSimpleTypeVisitor6<Boolean,Boolean>
-
visitTypeVariable
- Specified by:
visitTypeVariablein interfaceTypeVisitor<Boolean,Boolean> - Overrides:
visitTypeVariablein classSimpleTypeVisitor6<Boolean,Boolean>
-
uncheckedTypeArgument
-
isJavaLangObject
-