Class DecoratedVariableElement
- java.lang.Object
-
- com.webcohesion.enunciate.javac.decorations.element.DecoratedElement<VariableElement>
-
- com.webcohesion.enunciate.javac.decorations.element.DecoratedVariableElement
-
- All Implemented Interfaces:
AnnotatedConstruct,Element,VariableElement
public class DecoratedVariableElement extends DecoratedElement<VariableElement> implements VariableElement
- Author:
- Ryan Heaton
-
-
Field Summary
-
Fields inherited from class com.webcohesion.enunciate.javac.decorations.element.DecoratedElement
delegate, env
-
-
Constructor Summary
Constructors Constructor Description DecoratedVariableElement(VariableElement delegate, DecoratedProcessingEnvironment env)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,P>
Raccept(ElementVisitor<R,P> v, P p)ObjectgetConstantValue()DocCommentgetDeferredDocComment()StringgetDocComment()StringgetDocComment(JavaDocTagHandler tagHandler)protected JavaDocgetJavaDoc(JavaDocTagHandler tagHandler, boolean useDelegate)protected voidsetDocComment(DocComment docComment)-
Methods inherited from class com.webcohesion.enunciate.javac.decorations.element.DecoratedElement
asType, equals, getAnnotation, getAnnotationMirrors, getAnnotations, getAnnotationsByType, getDelegate, getDocValue, getDocValue, getEnclosedElements, getEnclosingElement, getJavaDoc, getJavaDoc, getKind, getModifiers, getSimpleName, getSimpleNameString, isAbstract, isFinal, isNative, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isTransient, isVolatile, 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
getAnnotationsByType
-
Methods inherited from interface javax.lang.model.element.Element
asType, equals, getAnnotation, getAnnotationMirrors, getEnclosedElements, getKind, getModifiers, hashCode
-
Methods inherited from interface javax.lang.model.element.VariableElement
getEnclosingElement, getSimpleName
-
-
-
-
Constructor Detail
-
DecoratedVariableElement
public DecoratedVariableElement(VariableElement delegate, DecoratedProcessingEnvironment env)
-
-
Method Detail
-
getConstantValue
public Object getConstantValue()
- Specified by:
getConstantValuein interfaceVariableElement
-
setDocComment
protected void setDocComment(DocComment docComment)
-
getDocComment
public String getDocComment()
- Overrides:
getDocCommentin classDecoratedElement<VariableElement>
-
getDocComment
public String getDocComment(JavaDocTagHandler tagHandler)
-
getDeferredDocComment
public DocComment getDeferredDocComment()
-
getJavaDoc
protected JavaDoc getJavaDoc(JavaDocTagHandler tagHandler, boolean useDelegate)
- Overrides:
getJavaDocin classDecoratedElement<VariableElement>
-
accept
public <R,P> R accept(ElementVisitor<R,P> v, P p)
- Specified by:
acceptin interfaceElement- Overrides:
acceptin classDecoratedElement<VariableElement>
-
-