Package org.vesalainen.bcc.model
Class VariableElementImpl
java.lang.Object
org.vesalainen.bcc.model.ElementImpl
org.vesalainen.bcc.model.VariableElementImpl
- All Implemented Interfaces:
AnnotatedConstruct,Element,VariableElement,UpdateableElement
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class org.vesalainen.bcc.model.ElementImpl
annotations, enclosingElement, kind, modifiers, simpleName -
Constructor Summary
ConstructorsModifierConstructorDescription(package private)(package private)VariableElementImpl(Field field) (package private)VariableElementImpl(Type param, Annotation[] annotation) privateVariableElementImpl(Element enclosingElement, String name) -
Method Summary
Modifier and TypeMethodDescription<R,P> R accept(ElementVisitor<R, P> v, P p) asType()boolean<A extends Annotation>
A[]getAnnotationsByType(Class<A> annotationType) inthashCode()Methods inherited from class org.vesalainen.bcc.model.ElementImpl
getAnnotation, getAnnotationMirrors, getEnclosingElement, getKind, getModifiers, getSimpleName, setEnclosingElement, setModifiers, setSimpleName, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.lang.model.element.Element
getAnnotation, getAnnotationMirrors, getKind, getModifiersMethods inherited from interface javax.lang.model.element.VariableElement
getEnclosingElement, getSimpleName, isUnnamed
-
Field Details
-
type
-
constantValue
-
-
Constructor Details
-
VariableElementImpl
-
VariableElementImpl
VariableElementImpl(Field field) -
VariableElementImpl
VariableElementImpl(Enum en) -
VariableElementImpl
VariableElementImpl(Type param, Annotation[] annotation)
-
-
Method Details
-
asType
- Specified by:
asTypein interfaceElement- Specified by:
asTypein interfaceVariableElement
-
getEnclosedElements
- Specified by:
getEnclosedElementsin interfaceElement
-
accept
-
getConstantValue
- Specified by:
getConstantValuein interfaceVariableElement
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceElement- Overrides:
hashCodein classElementImpl
-
equals
- Specified by:
equalsin interfaceElement- Overrides:
equalsin classElementImpl
-
getAnnotationsByType
- Specified by:
getAnnotationsByTypein interfaceAnnotatedConstruct- Specified by:
getAnnotationsByTypein interfaceElement
-