Class DecoratedNullType
- java.lang.Object
-
- com.webcohesion.enunciate.javac.decorations.type.DecoratedTypeMirror<T>
-
- com.webcohesion.enunciate.javac.decorations.type.DecoratedReferenceType<NullType>
-
- com.webcohesion.enunciate.javac.decorations.type.DecoratedNullType
-
- All Implemented Interfaces:
AnnotatedConstruct,NullType,ReferenceType,TypeMirror
public class DecoratedNullType extends DecoratedReferenceType<NullType> implements NullType
- Author:
- Ryan Heaton
-
-
Field Summary
-
Fields inherited from class com.webcohesion.enunciate.javac.decorations.type.DecoratedTypeMirror
delegate, env
-
-
Constructor Summary
Constructors Constructor Description DecoratedNullType(NullType delegate, DecoratedProcessingEnvironment env)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,P>
Raccept(TypeVisitor<R,P> v, P p)booleanisInstanceOf(TypeMirror candidate)booleanisNull()-
Methods inherited from class com.webcohesion.enunciate.javac.decorations.type.DecoratedReferenceType
isInstanceOf, isInstanceOf, isReferenceType
-
Methods inherited from class com.webcohesion.enunciate.javac.decorations.type.DecoratedTypeMirror
equals, getAnnotation, getAnnotationMirrors, getAnnotationsByType, getDeferredDocComment, getDelegate, getDocComment, getDocValue, getDocValue, getKind, isAnnotation, isArray, isClass, isCollection, isDeclared, isEnum, isInstanceOf, isInterface, isList, isPrimitive, isStream, isTypeVariable, isVoid, isWildcard, setDeferredDocComment, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javax.lang.model.AnnotatedConstruct
getAnnotation, getAnnotationMirrors, getAnnotationsByType
-
Methods inherited from interface javax.lang.model.type.TypeMirror
equals, getKind, hashCode, toString
-
-
-
-
Constructor Detail
-
DecoratedNullType
public DecoratedNullType(NullType delegate, DecoratedProcessingEnvironment env)
-
-
Method Detail
-
isNull
public boolean isNull()
- Overrides:
isNullin classDecoratedTypeMirror<NullType>
-
isInstanceOf
public boolean isInstanceOf(TypeMirror candidate)
- Overrides:
isInstanceOfin classDecoratedTypeMirror<NullType>
-
accept
public <R,P> R accept(TypeVisitor<R,P> v, P p)
- Specified by:
acceptin interfaceTypeMirror- Overrides:
acceptin classDecoratedTypeMirror<NullType>
-
-