Skip to content

Commit

Permalink
remove SubstitutionVisitor#visitCtExecutableReference
Browse files Browse the repository at this point in the history
  • Loading branch information
pvojtechovsky committed Jun 8, 2017
1 parent 4ce880a commit ae4a972
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/main/java/spoon/support/template/SubstitutionVisitor.java
Original file line number Diff line number Diff line change
Expand Up @@ -272,14 +272,6 @@ public <T> void visitCtInvocation(CtInvocation<T> invocation) {
super.visitCtInvocation(invocation);
}

// fixes the references to executables in templates
@Override
public <T> void visitCtExecutableReference(CtExecutableReference<T> reference) {
scanCtReference(reference);
visitCtTypeReference(reference.getDeclaringType());
scanCtActualTypeContainer(reference);
}

/**
* Replaces type parameters and references to the template type with
* references to the target type (only if the referenced element exists
Expand Down

0 comments on commit ae4a972

Please sign in to comment.