public Description matchMethod(MethodTree tree, VisitorState state) {
MethodSymbol method = (MethodSymbol) ASTHelpers.getSymbol(tree);
ClassSymbol classSym = method.enclClass();
TypeSymbol superClass = classSym.getSuperclass().tsym;
for (Symbol s : superClass.members().getElements()) {
if (s.name.contentEquals(method.name) && s.getKind() == ElementKind.METHOD) {
MethodSymbol supermethod = (MethodSymbol) s;
// if this method actually overrides the supermethod, then it's correct and not a match.
if (method.overrides(supermethod, superClass, state.getTypes(), true)) {