Class DecoratedTypeMirror<T extends TypeMirror>
- java.lang.Object
-
- com.webcohesion.enunciate.javac.decorations.type.DecoratedTypeMirror<T>
-
- All Implemented Interfaces:
AnnotatedConstruct,TypeMirror
- Direct Known Subclasses:
DecoratedExecutableType,DecoratedNoType,DecoratedPrimitiveType,DecoratedReferenceType,DecoratedWildcardType
public class DecoratedTypeMirror<T extends TypeMirror> extends Object implements TypeMirror
-
-
Field Summary
Fields Modifier and Type Field Description protected Tdelegateprotected DecoratedProcessingEnvironmentenv
-
Constructor Summary
Constructors Constructor Description DecoratedTypeMirror(T delegate, DecoratedProcessingEnvironment env)
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javax.lang.model.type.TypeMirror
hashCode
-
-
-
-
Field Detail
-
delegate
protected final T extends TypeMirror delegate
-
env
protected final DecoratedProcessingEnvironment env
-
-
Constructor Detail
-
DecoratedTypeMirror
public DecoratedTypeMirror(T delegate, DecoratedProcessingEnvironment env)
-
-
Method Detail
-
getKind
public TypeKind getKind()
- Specified by:
getKindin interfaceTypeMirror
-
accept
public <R,P> R accept(TypeVisitor<R,P> v, P p)
- Specified by:
acceptin interfaceTypeMirror
-
getAnnotationMirrors
public List<? extends AnnotationMirror> getAnnotationMirrors()
- Specified by:
getAnnotationMirrorsin interfaceAnnotatedConstruct
-
getAnnotation
public <A extends Annotation> A getAnnotation(Class<A> annotationType)
- Specified by:
getAnnotationin interfaceAnnotatedConstruct
-
getAnnotationsByType
public <A extends Annotation> A[] getAnnotationsByType(Class<A> annotationType)
- Specified by:
getAnnotationsByTypein interfaceAnnotatedConstruct
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfaceTypeMirror- Overrides:
equalsin classObject
-
toString
public String toString()
- Specified by:
toStringin interfaceTypeMirror- Overrides:
toStringin classObject
-
isInstanceOf
public boolean isInstanceOf(Class<?> clazz)
-
isInstanceOf
public boolean isInstanceOf(String typeName)
-
isInstanceOf
public boolean isInstanceOf(Element type)
-
isInstanceOf
public boolean isInstanceOf(TypeMirror candidate)
-
isAnnotation
public boolean isAnnotation()
-
isArray
public boolean isArray()
-
isCollection
public boolean isCollection()
-
isStream
public boolean isStream()
-
isList
public boolean isList()
-
isNull
public boolean isNull()
-
isReferenceType
public boolean isReferenceType()
-
isClass
public boolean isClass()
-
isDeclared
public boolean isDeclared()
-
isEnum
public boolean isEnum()
-
isInterface
public boolean isInterface()
-
isPrimitive
public boolean isPrimitive()
-
isTypeVariable
public boolean isTypeVariable()
-
isVoid
public boolean isVoid()
-
isWildcard
public boolean isWildcard()
-
getDelegate
public T getDelegate()
-
getDocComment
public String getDocComment()
-
getDeferredDocComment
public DocComment getDeferredDocComment()
-
setDeferredDocComment
public void setDeferredDocComment(DocComment docComment)
-
getDocValue
public String getDocValue()
-
getDocValue
public String getDocValue(JavaDocTagHandler tagHandler)
-
-