Skip to content

Commit

Permalink
Fix testTypeParameterMethods02 and others
Browse files Browse the repository at this point in the history
Signed-off-by: Rob Stryker <stryker@redhat.com>
  • Loading branch information
Rob Stryker committed Nov 25, 2024
1 parent e6eedae commit 60487bf
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ public int match(org.eclipse.jdt.core.dom.TypeParameter node, MatchingNodeSet no
return nodeSet.addMatch(node, level);
}
}
if (this.pattern.findDeclarations) {
if (matchesName(this.pattern.name, node.getName().toString().toCharArray())) {
int level = this.pattern.mustResolve ? POSSIBLE_MATCH : ACCURATE_MATCH;
return nodeSet.addMatch(node, level);
}
}
return IMPOSSIBLE_MATCH;
}

Expand Down

0 comments on commit 60487bf

Please sign in to comment.