mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
JavaCodeInsightTestFixture: javadoc
This commit is contained in:
+9
-1
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2012 JetBrains s.r.o.
|
||||
* Copyright 2000-2019 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -15,9 +15,11 @@
|
||||
*/
|
||||
package com.intellij.testFramework.fixtures;
|
||||
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.psi.PsiClass;
|
||||
import com.intellij.psi.PsiPackage;
|
||||
import com.intellij.psi.impl.JavaPsiFacadeEx;
|
||||
import com.intellij.psi.search.GlobalSearchScope;
|
||||
import org.intellij.lang.annotations.Language;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
@@ -30,6 +32,12 @@ public interface JavaCodeInsightTestFixture extends CodeInsightTestFixture {
|
||||
|
||||
PsiClass addClass(@NotNull @NonNls @Language("JAVA") final String classText);
|
||||
|
||||
/**
|
||||
* Finds class by given fully-qualified name in {@link GlobalSearchScope#allScope(Project)}.
|
||||
*
|
||||
* @param name Qualified name of class to find.
|
||||
* @return Class instance.
|
||||
*/
|
||||
@NotNull
|
||||
PsiClass findClass(@NotNull @NonNls String name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user