|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use FakedTrackingVariable | |
|---|---|
| org.eclipse.jdt.internal.compiler.ast | |
| org.eclipse.jdt.internal.compiler.flow | |
| org.eclipse.jdt.internal.compiler.lookup | |
| org.eclipse.jdt.internal.compiler.problem | |
| Uses of FakedTrackingVariable in org.eclipse.jdt.internal.compiler.ast |
|---|
| Fields in org.eclipse.jdt.internal.compiler.ast declared as FakedTrackingVariable | |
|---|---|
FakedTrackingVariable |
AllocationExpression.closeTracker
|
FakedTrackingVariable |
FakedTrackingVariable.innerTracker
|
FakedTrackingVariable |
FakedTrackingVariable.outerTracker
|
| Methods in org.eclipse.jdt.internal.compiler.ast that return FakedTrackingVariable | |
|---|---|
static FakedTrackingVariable |
FakedTrackingVariable.getCloseTrackingVariable(Expression expression,
FlowInfo flowInfo,
FlowContext flowContext)
If expression resolves to a value of type AutoCloseable answer the variable that tracks closing of that local. |
static FakedTrackingVariable |
FakedTrackingVariable.pickVarForReporting(java.util.Set varsOfScope,
BlockScope scope,
boolean atExit)
Pick tracking variables from 'varsOfScope' to establish a proper order of processing: As much as possible pick wrapper resources before their inner resources. |
| Methods in org.eclipse.jdt.internal.compiler.ast with parameters of type FakedTrackingVariable | |
|---|---|
boolean |
FakedTrackingVariable.isResourceBeingReturned(FakedTrackingVariable returnedResource)
If current is the same as 'returnedResource' or a wrapper thereof, mark as reported and return true, otherwise false. |
| Uses of FakedTrackingVariable in org.eclipse.jdt.internal.compiler.flow |
|---|
| Methods in org.eclipse.jdt.internal.compiler.flow with parameters of type FakedTrackingVariable | |
|---|---|
boolean |
FlowContext.recordExitAgainstResource(BlockScope scope,
FlowInfo flowInfo,
FakedTrackingVariable trackingVar,
ASTNode reference)
Record that we found an early exit from a method while a resource is in scope. |
boolean |
LoopingFlowContext.recordExitAgainstResource(BlockScope scope,
FlowInfo flowInfo,
FakedTrackingVariable trackingVar,
ASTNode reference)
Record the fact that we see an early exit (in 'reference') while 'trackingVar' is in scope and may be unclosed. |
| Uses of FakedTrackingVariable in org.eclipse.jdt.internal.compiler.lookup |
|---|
| Fields in org.eclipse.jdt.internal.compiler.lookup declared as FakedTrackingVariable | |
|---|---|
FakedTrackingVariable |
LocalVariableBinding.closeTracker
|
| Methods in org.eclipse.jdt.internal.compiler.lookup with parameters of type FakedTrackingVariable | |
|---|---|
void |
BlockScope.pruneWrapperTrackingVar(FakedTrackingVariable trackingVariable)
Unregister a wrapper resource without affecting its inner. |
int |
BlockScope.registerTrackingVariable(FakedTrackingVariable fakedTrackingVariable)
Register a tracking variable and compute its id. |
void |
BlockScope.removeTrackingVar(FakedTrackingVariable trackingVariable)
When are no longer interested in this tracking variable - remove it. |
| Uses of FakedTrackingVariable in org.eclipse.jdt.internal.compiler.problem |
|---|
| Methods in org.eclipse.jdt.internal.compiler.problem with parameters of type FakedTrackingVariable | |
|---|---|
void |
ProblemReporter.explicitlyClosedAutoCloseable(FakedTrackingVariable trackVar)
|
void |
ProblemReporter.potentiallyUnclosedCloseable(FakedTrackingVariable trackVar,
ASTNode location)
|
void |
ProblemReporter.unclosedCloseable(FakedTrackingVariable trackVar,
ASTNode location)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||