Class ElementImpl
java.lang.Object
org.vesalainen.bcc.model.ElementImpl
- All Implemented Interfaces:
AnnotatedConstruct, Element, UpdateableElement
- Direct Known Subclasses:
ExecutableElementImpl, PackageElementImpl, TypeElementImpl, TypeParameterElementImpl, VariableElementImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AnnotatedElementprivate List<AnnotationMirror> protected Annotation[]protected Elementprotected ElementKindprotected Name -
Constructor Summary
ConstructorsConstructorDescriptionElementImpl(ElementKind kind, Annotation[] annotations, String name) ElementImpl(ElementKind kind, AnnotatedElement element, int modifier, String name) ElementImpl(ElementKind kind, String name) -
Method Summary
Modifier and TypeMethodDescriptionboolean<A extends Annotation>
AgetAnnotation(Class<A> annotationType) List<? extends AnnotationMirror> getKind()inthashCode()voidsetEnclosingElement(Element enclosingElement) voidsetModifiers(Set<Modifier> modifiers) voidsetSimpleName(Name simpleName) toString()Methods inherited from interface Element
accept, asType, getAnnotationsByType, getEnclosedElements
-
Field Details
-
enclosingElement
-
kind
-
simpleName
-
modifiers
-
annotations
-
annotatedElement
-
annotationMirrors
-
-
Constructor Details
-
ElementImpl
ElementImpl(ElementKind kind, String name) -
ElementImpl
ElementImpl(ElementKind kind, Annotation[] annotations, String name) -
ElementImpl
ElementImpl(ElementKind kind, AnnotatedElement element, int modifier, String name)
-
-
Method Details
-
getEnclosingElement
- Specified by:
getEnclosingElementin interfaceElement
-
setEnclosingElement
- Specified by:
setEnclosingElementin interfaceUpdateableElement
-
setModifiers
- Specified by:
setModifiersin interfaceUpdateableElement
-
setSimpleName
- Specified by:
setSimpleNamein interfaceUpdateableElement
-
getModifiers
- Specified by:
getModifiersin interfaceElement
-
getSimpleName
- Specified by:
getSimpleNamein interfaceElement
-
getAnnotation
- Specified by:
getAnnotationin interfaceAnnotatedConstruct- Specified by:
getAnnotationin interfaceElement
-
getAnnotationMirrors
- Specified by:
getAnnotationMirrorsin interfaceAnnotatedConstruct- Specified by:
getAnnotationMirrorsin interfaceElement
-
hashCode
-
equals
-
getKind
-
toString
-