if ((symbol.flags() & DEPRECATED) == 0) {
return Description.NO_MATCH;
}
// (2)
if (symbol.attribute(state.getSymtab().deprecatedType.tsym) != null) {
return Description.NO_MATCH;
}
return describeMatch(tree, SuggestedFix.prefixWith(tree, "@Deprecated\n"));
}