< prev index next > src/jdk.compiler/share/classes/com/sun/tools/javac/comp/CaptureScanner.java
Print this page
}
/**
* Obtains the list of captured local variables in the tree under analysis.
*/
! List<Symbol.VarSymbol> analyzeCaptures() {
scan(tree);
return List.from(fvs);
}
}
}
/**
* Obtains the list of captured local variables in the tree under analysis.
*/
! public List<Symbol.VarSymbol> analyzeCaptures() {
scan(tree);
return List.from(fvs);
}
+
+ public boolean isVarSeen(VarSymbol s) {
+ return seenVars.contains(s);
+ }
}
< prev index next >