| Modifier and Type | Field and Description |
|---|---|
| private final SequencedSet | fvs
The set of captured local variables accessed from within the tree under analysis. |
| private final Set | seenVars
The set of local variable declarations encountered in the tree under analysis. |
| private final JCTree | tree
The tree under analysis. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| pack-priv List | |
| public void | |
| public void |
| fvs | back to summary |
|---|---|
| private final SequencedSet<Symbol. The set of captured local variables accessed from within the tree under analysis. | |
| seenVars | back to summary |
|---|---|
| private final Set<Symbol. The set of local variable declarations encountered in the tree under analysis. | |
| tree | back to summary |
|---|---|
| private final JCTree tree The tree under analysis. | |
| CaptureScanner | back to summary |
|---|---|
| public CaptureScanner(JCTree ownerTree) | |
| addFreeVar | back to summary |
|---|---|
| protected void addFreeVar(Symbol. Add free variable to fvs list unless it is already there. | |
| analyzeCaptures | back to summary |
|---|---|
| pack-priv List Obtains the list of captured local variables in the tree under analysis. | |
| visitIdent | back to summary |
|---|---|
| public void visitIdent(JCTree. Overrides com.
| |
| visitVarDef | back to summary |
|---|---|
| public void visitVarDef(JCTree. Overrides com.
| |