use of com.intellij.ide.hierarchy.call.CallerMethodsTreeStructure in project intellij-community by JetBrains.
the class JavaCallHierarchyTest method doJavaCallTypeHierarchyTest.
private void doJavaCallTypeHierarchyTest(final String classFqn, final String methodName, final String... fileNames) throws Exception {
doHierarchyTest(() -> {
final PsiClass psiClass = JavaPsiFacade.getInstance(getProject()).findClass(classFqn, ProjectScope.getProjectScope(getProject()));
final PsiMethod method = psiClass.findMethodsByName(methodName, false)[0];
return new CallerMethodsTreeStructure(getProject(), method, HierarchyBrowserBaseEx.SCOPE_PROJECT);
}, fileNames);
}
Aggregations