aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/checker_framework_javacutil/java/org/checkerframework/javacutil/trees/DetachedVarSymbol.java
diff options
context:
space:
mode:
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.java21
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;
}