assertThat(Find.modifiers(tree), not(hasItem(ABSTRACT)));
assertThat(tree.getName().getToken(), is("AbstractImpl"));
assertThat(tree.getSuperClass().toString(), is("Abstract"));
// オーバーライド
MethodDeclaration method = Find.method(tree, "example");
assertThat(method, not(nullValue()));
assertThat(Find.modifiers(method), hasItem(PUBLIC));
assertThat(Find.modifiers(method), not(hasItems(ABSTRACT, STATIC)));
assertThat(method.getReturnType().toString(), is("CharSequence"));
List<? extends FormalParameterDeclaration> params = method.getFormalParameters();
assertThat(params.size(), is(2));
assertThat(params.get(0).getType().toString(), is("String"));
assertThat(params.get(0).getName().toString(), is("string"));
assertThat(params.get(1).getType().toString(), is("int"));
assertThat(params.get(1).getName().toString(), is("param"));