getChild(context, MethodDeclarationContext.class);
if (methodDeclarationContext != null) {
return getAdapter(MethodDeclarationAdapter.class).adapt(methodDeclarationContext);
}
GenericMethodDeclarationContext genericMethodDeclarationContext =
getChild(context, GenericMethodDeclarationContext.class);
if (genericMethodDeclarationContext != null) {
return getAdapter(GenericMethodDeclarationAdapter.class).adapt(
genericMethodDeclarationContext);
}