public class DecoratedTypeElement extends DecoratedElement<TypeElement> implements TypeElement
delegate, env| Constructor and Description |
|---|
DecoratedTypeElement(TypeElement delegate,
DecoratedProcessingEnvironment env) |
| Modifier and Type | Method and Description |
|---|---|
<R,P> R |
accept(ElementVisitor<R,P> v,
P p) |
List<VariableElement> |
enumValues() |
<A extends Annotation> |
getAnnotation(Class<A> annotationType) |
List<ExecutableElement> |
getConstructors() |
List<? extends VariableElement> |
getFields() |
List<? extends TypeMirror> |
getInterfaces() |
List<ExecutableElement> |
getMethods() |
NestingKind |
getNestingKind() |
PackageElement |
getPackage() |
List<PropertyElement> |
getProperties() |
List<PropertyElement> |
getProperties(PropertySpec spec) |
Name |
getQualifiedName() |
TypeMirror |
getSuperclass() |
List<? extends TypeParameterElement> |
getTypeParameters() |
boolean |
isAnnotatedType() |
boolean |
isClass() |
boolean |
isEnum() |
boolean |
isInterface() |
protected List<VariableElement> |
loadEnumConstants() |
protected List<PropertyElement> |
loadProperties(PropertySpec spec) |
asType, equals, getAnnotationMirrors, getAnnotations, getDelegate, getDocComment, getDocValue, getDocValue, getEnclosedElements, getEnclosingElement, getJavaDoc, getJavaDoc, getJavaDoc, getKind, getModifiers, getSimpleName, isAbstract, isFinal, isNative, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isTransient, isVolatile, toStringclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEnclosedElements, getEnclosingElement, getSimpleNameasType, equals, getAnnotationMirrors, getKind, getModifiers, hashCodepublic DecoratedTypeElement(TypeElement delegate, DecoratedProcessingEnvironment env)
public PackageElement getPackage()
public List<? extends TypeParameterElement> getTypeParameters()
getTypeParameters in interface ParameterizablegetTypeParameters in interface TypeElementpublic NestingKind getNestingKind()
getNestingKind in interface TypeElementpublic Name getQualifiedName()
getQualifiedName in interface QualifiedNameablegetQualifiedName in interface TypeElementpublic TypeMirror getSuperclass()
getSuperclass in interface TypeElementpublic List<? extends TypeMirror> getInterfaces()
getInterfaces in interface TypeElementpublic List<ExecutableElement> getMethods()
public List<? extends VariableElement> getFields()
public List<ExecutableElement> getConstructors()
public List<PropertyElement> getProperties()
public List<PropertyElement> getProperties(PropertySpec spec)
public List<VariableElement> enumValues()
public <A extends Annotation> A getAnnotation(Class<A> annotationType)
getAnnotation in interface ElementgetAnnotation in class DecoratedElement<TypeElement>protected List<PropertyElement> loadProperties(PropertySpec spec)
protected List<VariableElement> loadEnumConstants()
public boolean isClass()
public boolean isInterface()
public boolean isEnum()
public boolean isAnnotatedType()
public <R,P> R accept(ElementVisitor<R,P> v, P p)
accept in interface Elementaccept in class DecoratedElement<TypeElement>Copyright © 2006-2016–2017. All rights reserved.