public int match(TypeDeclaration node, MatchingNodeSet nodeSet) { if (this.pattern.simpleName == null || matchesName(this.pattern.simpleName, node.name)) return nodeSet.addMatch(node, this.pattern.mustResolve ? POSSIBLE_MATCH : ACCURATE_MATCH); return IMPOSSIBLE_MATCH; } //public int match(TypeReference node, MatchingNodeSet nodeSet) - SKIP IT
@Override public int match(TypeDeclaration node, MatchingNodeSet nodeSet) { if (this.pattern.simpleName == null || matchesName(this.pattern.simpleName, node.name)) return nodeSet.addMatch(node, this.pattern.mustResolve ? POSSIBLE_MATCH : ACCURATE_MATCH); return IMPOSSIBLE_MATCH; } //public int match(TypeReference node, MatchingNodeSet nodeSet) - SKIP IT
public int match(TypeDeclaration node, MatchingNodeSet nodeSet) { if (this.pattern.simpleName == null || matchesName(this.pattern.simpleName, node.name)) return nodeSet.addMatch(node, this.pattern.mustResolve ? POSSIBLE_MATCH : ACCURATE_MATCH); return IMPOSSIBLE_MATCH; } //public int match(TypeReference node, MatchingNodeSet nodeSet) - SKIP IT
public int match(TypeDeclaration node, MatchingNodeSet nodeSet) { if (this.pattern.simpleName == null || matchesName(this.pattern.simpleName, node.name)) return nodeSet.addMatch(node, this.pattern.mustResolve ? POSSIBLE_MATCH : ACCURATE_MATCH); return IMPOSSIBLE_MATCH; } //public int match(TypeReference node, MatchingNodeSet nodeSet) - SKIP IT
public int match(TypeDeclaration node, MatchingNodeSet nodeSet) { if (this.pattern.simpleName == null || matchesName(this.pattern.simpleName, node.name)) return nodeSet.addMatch(node, this.pattern.mustResolve ? POSSIBLE_MATCH : ACCURATE_MATCH); return IMPOSSIBLE_MATCH; } //public int match(TypeReference node, MatchingNodeSet nodeSet) - SKIP IT
public int match(TypeDeclaration node, MatchingNodeSet nodeSet) { if (this.pattern.simpleName == null || matchesName(this.pattern.simpleName, node.name)) return nodeSet.addMatch(node, this.pattern.mustResolve ? POSSIBLE_MATCH : ACCURATE_MATCH); return IMPOSSIBLE_MATCH; } //public int match(TypeReference node, MatchingNodeSet nodeSet) - SKIP IT