diff options
author | Liam Miller-Cushon <cushon@google.com> | 2017-10-15 23:31:56 -0700 |
---|---|---|
committer | Damien Martin-Guillerez <dmarting@google.com> | 2017-10-16 14:16:39 +0200 |
commit | 6bf3f268f4a01963a2ee13f60178664bb056a802 (patch) | |
tree | 32a870dc293e07af88f52b241c75d9cbd462f63f /third_party/checker_framework_javacutil/java/org/checkerframework/javacutil/trees/DetachedVarSymbol.java | |
parent | 80a34dc97799961201e6dce20fd58dd08022c032 (diff) |
Update checker framework dataflow and javacutils to 2.1.14
Change-Id: I62ad827fc4bbd54d022097003af63e351e44b98c
Diffstat (limited to 'third_party/checker_framework_javacutil/java/org/checkerframework/javacutil/trees/DetachedVarSymbol.java')
-rw-r--r-- | third_party/checker_framework_javacutil/java/org/checkerframework/javacutil/trees/DetachedVarSymbol.java | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/third_party/checker_framework_javacutil/java/org/checkerframework/javacutil/trees/DetachedVarSymbol.java b/third_party/checker_framework_javacutil/java/org/checkerframework/javacutil/trees/DetachedVarSymbol.java index 0edf3944e3..43d79cc710 100644 --- a/third_party/checker_framework_javacutil/java/org/checkerframework/javacutil/trees/DetachedVarSymbol.java +++ b/third_party/checker_framework_javacutil/java/org/checkerframework/javacutil/trees/DetachedVarSymbol.java @@ -10,35 +10,26 @@ import org.checkerframework.checker.nullness.qual.Nullable; */ /** - * A DetachedVarSymbol represents a variable that is not part of any - * AST Tree. DetachedVarSymbols are created when desugaring source - * code constructs and they carry important type information, but some - * methods such as TreeInfo.declarationFor do not work on them. + * A DetachedVarSymbol represents a variable that is not part of any AST Tree. DetachedVarSymbols + * are created when desugaring source code constructs and they carry important type information, but + * some methods such as TreeInfo.declarationFor do not work on them. */ - public class DetachedVarSymbol extends Symbol.VarSymbol { protected /*@Nullable*/ VariableTree decl; - /** - * Construct a detached variable symbol, given its flags, name, - * type and owner. - */ + /** Construct a detached variable symbol, given its flags, name, type and owner. */ public DetachedVarSymbol(long flags, Name name, Type type, Symbol owner) { super(flags, name, type, owner); this.decl = null; } - /** - * Set the declaration tree for the variable. - */ + /** Set the declaration tree for the variable. */ public void setDeclaration(VariableTree decl) { this.decl = decl; } - /** - * Get the declaration tree for the variable. - */ + /** Get the declaration tree for the variable. */ public /*@Nullable*/ VariableTree getDeclaration() { return decl; } |