Class LocalVariable
java.lang.Object
org.vesalainen.bcc.LocalVariable
- All Implemented Interfaces:
AnnotatedConstruct, Element, VariableElement
- Direct Known Subclasses:
Parameter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ExecutableElementprivate ElementKindprivate Nameprivate TypeMirror -
Constructor Summary
ConstructorsModifierConstructorDescriptionLocalVariable(ExecutableElement enclosingElement, TypeMirror type) LocalVariable(ExecutableElement enclosingElement, TypeMirror type, CharSequence simpleName) protectedLocalVariable(ExecutableElement enclosingElement, TypeMirror type, ElementKind kind, CharSequence simpleName) -
Method Summary
Modifier and TypeMethodDescription<R,P> R accept(ElementVisitor<R, P> v, P p) asType()<A extends Annotation>
AgetAnnotation(Class<A> annotationType) List<? extends AnnotationMirror> <A extends Annotation>
A[]getAnnotationsByType(Class<A> annotationType) getKind()voidsetSimpleName(CharSequence simpleName) toString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface VariableElement
isUnnamed
-
Field Details
-
enclosingElement
-
type
-
kind
-
modifiers
-
simpleName
-
-
Constructor Details
-
LocalVariable
-
LocalVariable
-
LocalVariable
protected LocalVariable(ExecutableElement enclosingElement, TypeMirror type, ElementKind kind, CharSequence simpleName)
-
-
Method Details
-
setSimpleName
-
getConstantValue
- Specified by:
getConstantValuein interfaceVariableElement
-
asType
- Specified by:
asTypein interfaceElement- Specified by:
asTypein interfaceVariableElement
-
getKind
-
getAnnotationMirrors
- Specified by:
getAnnotationMirrorsin interfaceAnnotatedConstruct- Specified by:
getAnnotationMirrorsin interfaceElement
-
getAnnotation
- Specified by:
getAnnotationin interfaceAnnotatedConstruct- Specified by:
getAnnotationin interfaceElement
-
getModifiers
- Specified by:
getModifiersin interfaceElement
-
getSimpleName
- Specified by:
getSimpleNamein interfaceElement- Specified by:
getSimpleNamein interfaceVariableElement
-
getEnclosingElement
- Specified by:
getEnclosingElementin interfaceElement- Specified by:
getEnclosingElementin interfaceVariableElement
-
getEnclosedElements
- Specified by:
getEnclosedElementsin interfaceElement
-
accept
-
toString
-
getAnnotationsByType
- Specified by:
getAnnotationsByTypein interfaceAnnotatedConstruct- Specified by:
getAnnotationsByTypein interfaceElement
-