Class CodeVariableElement
java.lang.Object
com.oracle.truffle.dsl.processor.java.model.CodeElement<Element>
com.oracle.truffle.dsl.processor.java.model.CodeVariableElement
- All Implemented Interfaces:
GeneratedElement,AnnotatedConstruct,Element,VariableElement
-
Constructor Summary
ConstructorsConstructorDescriptionCodeVariableElement(Set<Modifier> modifiers, TypeMirror type, String name) CodeVariableElement(TypeMirror type, String name) -
Method Summary
Modifier and TypeMethodDescription<R,P> R accept(ElementVisitor<R, P> v, P p) asType()static CodeVariableElementclone(VariableElement var) booleangetInit()getKind()getName()getType()inthashCode()voidsetConstantValue(Object constantValue) voidvoidvoidsetSimpleName(Name name) voidsetType(TypeMirror type) toString()Methods inherited from class com.oracle.truffle.dsl.processor.java.model.CodeElement
add, addAll, addAnnotationMirror, addOptional, createDocBuilder, getAnnotation, getAnnotationMirrors, getAnnotationsByType, getDocTree, getEnclosedElements, getEnclosingClass, getEnclosingElement, getGeneratorAnnotationMirror, getGeneratorElement, getModifiers, setDocTree, setEnclosingElement, setGeneratorAnnotationMirror, setGeneratorElementMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.lang.model.element.Element
getAnnotation, getAnnotationMirrors, getAnnotationsByType, getEnclosedElements, getModifiersMethods inherited from interface javax.lang.model.element.VariableElement
getEnclosingElement, isUnnamed
-
Constructor Details
-
CodeVariableElement
-
CodeVariableElement
-
-
Method Details
-
createInitBuilder
-
equals
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceElement- Overrides:
hashCodein classCodeElement<Element>
-
setInit
-
getInit
-
getSimpleName
- Specified by:
getSimpleNamein interfaceElement- Specified by:
getSimpleNamein interfaceVariableElement
-
getType
-
asType
- Specified by:
asTypein interfaceElement- Specified by:
asTypein interfaceVariableElement
-
toString
- Overrides:
toStringin classCodeElement<Element>
-
getKind
-
setConstantValue
-
getConstantValue
- Specified by:
getConstantValuein interfaceVariableElement
-
getName
-
setSimpleName
-
setName
-
setType
-
accept
-
clone
-