Class DecoratedArrayType
- java.lang.Object
-
- com.webcohesion.enunciate.javac.decorations.type.DecoratedTypeMirror<T>
-
- com.webcohesion.enunciate.javac.decorations.type.DecoratedReferenceType<ArrayType>
-
- com.webcohesion.enunciate.javac.decorations.type.DecoratedArrayType
-
- All Implemented Interfaces:
AnnotatedConstruct,ArrayType,ReferenceType,TypeMirror
public class DecoratedArrayType extends DecoratedReferenceType<ArrayType> implements ArrayType
- Author:
- Ryan Heaton
-
-
Field Summary
-
Fields inherited from class com.webcohesion.enunciate.javac.decorations.type.DecoratedTypeMirror
delegate, env
-
-
Constructor Summary
Constructors Constructor Description DecoratedArrayType(ArrayType 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)TypeMirrorgetComponentType()booleanisArray()-
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, isClass, isCollection, isDeclared, isEnum, isInstanceOf, isInstanceOf, isInterface, isList, isNull, 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
-
DecoratedArrayType
public DecoratedArrayType(ArrayType delegate, DecoratedProcessingEnvironment env)
-
-
Method Detail
-
getComponentType
public TypeMirror getComponentType()
- Specified by:
getComponentTypein interfaceArrayType
-
isArray
public boolean isArray()
- Overrides:
isArrayin classDecoratedTypeMirror<ArrayType>
-
accept
public <R,P> R accept(TypeVisitor<R,P> v, P p)
- Specified by:
acceptin interfaceTypeMirror- Overrides:
acceptin classDecoratedTypeMirror<ArrayType>
-
-