|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object checkers.types.AnnotatedTypeMirror checkers.types.AnnotatedTypeMirror.AnnotatedNullType
public static class AnnotatedTypeMirror.AnnotatedNullType
Represents the null type. This is the type of the expression null
.
Nested Class Summary |
---|
Field Summary |
---|
Fields inherited from class checkers.types.AnnotatedTypeMirror |
---|
annotationFactory, annotations, element, enclosingType, env, typeFactory |
Method Summary | ||
---|---|---|
|
accept(AnnotatedTypeVisitor<R,P> v,
P p)
Applies a visitor to this type. |
|
AnnotatedTypeMirror.AnnotatedNullType |
getCopy(boolean annotation)
Returns a shallow copy of this type. |
|
NullType |
getUnderlyingType()
Returns the underlying unannotated Java type wrapped with this |
|
AnnotatedTypeMirror |
substitute(Map<? extends AnnotatedTypeMirror,? extends AnnotatedTypeMirror> mappings)
Sub |
Methods inherited from class checkers.types.AnnotatedTypeMirror |
---|
addAnnotation, addAnnotations, clearAnnotations, copyFields, createType, createTypeOfObject, directSuperTypes, directSuperTypes, equals, formatAnnotationString, getAnnotation, getAnnotation, getAnnotations, getElement, getEnclosingType, getErased, getKind, hasAnnotation, hashCode, removeAnnotation, removeAnnotations, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public <R,P> R accept(AnnotatedTypeVisitor<R,P> v, P p)
AnnotatedTypeMirror
accept
in class AnnotatedTypeMirror
R
- the return type of the visitor's methodsP
- the type of the additional parameter to the visitor's methodsv
- the visitor operating on this typep
- additional parameter to the visitor
public NullType getUnderlyingType()
AnnotatedTypeMirror
getUnderlyingType
in class AnnotatedTypeMirror
public AnnotatedTypeMirror.AnnotatedNullType getCopy(boolean annotation)
AnnotatedTypeMirror
getCopy
in class AnnotatedTypeMirror
annotation
- whether copy should have annotationspublic AnnotatedTypeMirror substitute(Map<? extends AnnotatedTypeMirror,? extends AnnotatedTypeMirror> mappings)
AnnotatedTypeMirror
substitute
in class AnnotatedTypeMirror
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |