Browse Source

SignaturePattern.TypePatternVisitor: remove redundant visit method

Method visit(WildAnnotationTypePattern, Object) used to descend into
node.getTypePattern().accept(this, data), which since commit 6585b9ef46
is unnecessary, because WildAnnotationTypePattern::traverse already
traverses its type pattern.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
tags/V1_9_22_1
Alexander Kriegisch 1 month ago
parent
commit
742d4d7ea0

+ 0
- 6
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/SignaturePattern.java View File

this.parameterTargettingAnnotationsAllowed = parameterTargettingAnnotationsAllowed; this.parameterTargettingAnnotationsAllowed = parameterTargettingAnnotationsAllowed;
} }


@Override
public Object visit(WildAnnotationTypePattern node, Object data) {
node.getTypePattern().accept(this, data);
return node;
}

/** /**
* Do the ExactAnnotationTypePatterns have the incorrect target? * Do the ExactAnnotationTypePatterns have the incorrect target?
*/ */

Loading…
Cancel
Save