Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ public final class PointsToAnalysisMethod extends AnalysisMethod {
/** The parsing context in which given method was parsed, preserved after analysis. */
private Object parsingReason;

private Set<InvokeTypeFlow> invokedBy;
private Set<InvokeTypeFlow> implementationInvokedBy;
/**
* Unique, per method, per multi-method key, context insensitive invoke. The context insensitive
Expand Down Expand Up @@ -86,9 +85,6 @@ protected AnalysisMethod createMultiMethod(AnalysisMethod analysisMethod, MultiM

@Override
public void startTrackInvocations() {
if (invokedBy == null) {
invokedBy = ConcurrentHashMap.newKeySet();
}
if (implementationInvokedBy == null) {
implementationInvokedBy = ConcurrentHashMap.newKeySet();
}
Expand All @@ -101,9 +97,6 @@ public MethodTypeFlow getTypeFlow() {
@Override
public boolean registerAsInvoked(Object reason) {
assert reason instanceof InvokeTypeFlow || reason instanceof String : reason;
if (invokedBy != null && reason instanceof InvokeTypeFlow) {
invokedBy.add((InvokeTypeFlow) reason);
}
return super.registerAsInvoked(unwrapInvokeReason(reason));
}

Expand Down Expand Up @@ -257,7 +250,6 @@ public void cleanupAfterAnalysis() {
contextInsensitiveVirtualInvoke = null;
contextInsensitiveSpecialInvoke = null;
typeFlow = null;
invokedBy = null;
implementationInvokedBy = null;
}

Expand Down