public abstract class GenElement extends GenAnnotatedConstruct implements Element
| Constructor and Description |
|---|
GenElement() |
GenElement(Name simpleName) |
GenElement(String simpleName) |
getAnnotation, getAnnotationsByTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, getAnnotation, hashCodegetAnnotationsByTypepublic GenElement()
public GenElement(Name simpleName)
public GenElement(String simpleName)
public <R,P> R accept(ElementVisitor<R,P> v, P p)
public TypeMirror asType()
public abstract ElementKind getKind()
public void addEnclosedElement(Element enclosedEl)
public Comparator<Element> enclosedElementComparator()
public void add(GenElement... elements)
public GenParameterizable enclosingParameterizable()
public boolean setVisibility(Modifier visibility)
public void resolveContainedTypeVariables(GenParameterizable parameterizable)
public CharSequence getComment()
public CharSequence setComment(CharSequence comment)
public Name setSimpleName(CharSequence name)
public Set<Modifier> getModifiers()
getModifiers in interface Elementpublic void addModifier(Modifier aModifier_)
public void removeModifier(Modifier aModifier_)
public Name getSimpleName()
getSimpleName in interface Elementpublic void setSimpleName(Name simpleName)
public Element getEnclosingElement()
getEnclosingElement in interface Elementpublic void setEnclosingElement(Element enclosingElement)
public List<? extends Element> getEnclosedElements()
getEnclosedElements in interface Elementpublic void removeEnclosedElement(Element aEnclosedElement_)
public List<? extends AnnotationMirror> getAnnotationMirrors()
getAnnotationMirrors in interface AnnotatedConstructgetAnnotationMirrors in interface ElementgetAnnotationMirrors in class GenAnnotatedConstructpublic void addAnnotationMirror(AnnotationMirror aAnnotationMirror_)
public void removeAnnotationMirror(AnnotationMirror aAnnotationMirror_)
public void setAnnotationMirrors(List<? extends AnnotationMirror> annotationMirrors)
Copyright © 2018. All rights reserved.