public class DetachedVarSymbol
extends com.sun.tools.javac.code.Symbol.VarSymbol
com.sun.tools.javac.code.Symbol.ClassSymbol, com.sun.tools.javac.code.Symbol.Completer, com.sun.tools.javac.code.Symbol.CompletionFailure, com.sun.tools.javac.code.Symbol.DelegatedSymbol<T extends com.sun.tools.javac.code.Symbol>, com.sun.tools.javac.code.Symbol.DynamicMethodSymbol, com.sun.tools.javac.code.Symbol.MethodSymbol, com.sun.tools.javac.code.Symbol.OperatorSymbol, com.sun.tools.javac.code.Symbol.PackageSymbol, com.sun.tools.javac.code.Symbol.TypeSymbol, com.sun.tools.javac.code.Symbol.TypeVariableSymbol, com.sun.tools.javac.code.Symbol.VarSymbol, com.sun.tools.javac.code.Symbol.Visitor<R,P>
Modifier and Type | Field and Description |
---|---|
protected @Nullable VariableTree |
decl |
Constructor and Description |
---|
DetachedVarSymbol(long flags,
com.sun.tools.javac.util.Name name,
com.sun.tools.javac.code.Type type,
com.sun.tools.javac.code.Symbol owner)
Construct a detached variable symbol, given its flags, name, type and owner.
|
Modifier and Type | Method and Description |
---|---|
@Nullable VariableTree |
getDeclaration()
Get the declaration tree for the variable.
|
void |
setDeclaration(VariableTree decl)
Set the declaration tree for the variable.
|
accept, accept, asMemberOf, clone, getConstantValue, getConstValue, getKind, isExceptionParameter, isResourceVariable, setData, setLazyConstValue, toString
annotationsPendingCompletion, appendAttributes, appendClassInitTypeAttributes, appendInitTypeAttributes, appendTypeAttributesWithCompletion, appendUniqueTypeAttributes, attribute, baseSymbol, complete, enclClass, erasure, exists, externalType, flags, flatName, getClassInitTypeAttributes, getDeclarationAttributes, getEnclosedElements, getInitTypeAttributes, getMetadata, getModifiers, getQualifiedName, getRawAttributes, getRawTypeAttributes, getTypeParameters, hasAnnotations, hasOuterInstance, hasTypeAnnotations, isAnonymous, isConstructor, isDeprecated, isEnclosedBy, isEnum, isInheritedIn, isInner, isInterface, isLocal, isMemberOf, isPrivate, isStatic, isSubClass, location, location, members, outermostClass, overrides, packge, prependAttributes, resetAnnotations, setAttributes, setDeclarationAttributes, setDeclarationAttributesWithCompletion, setTypeAttributes
getAnnotation, getAnnotationsByType, getAttribute, getInheritedAnnotations
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, getAnnotation, getEnclosedElements, getModifiers, hashCode
getAnnotationsByType
protected @Nullable VariableTree decl
public DetachedVarSymbol(long flags, com.sun.tools.javac.util.Name name, com.sun.tools.javac.code.Type type, com.sun.tools.javac.code.Symbol owner)
public void setDeclaration(VariableTree decl)
public @Nullable VariableTree getDeclaration()