mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Typo
This commit is contained in:
@@ -123,6 +123,13 @@ public abstract class PsiType implements PsiAnnotationOwner {
|
||||
return JavaPsiFacade.getInstance(manager.getProject()).getElementFactory().createTypeByFQClassName(CommonClassNames.JAVA_LANG_CLASS, resolveScope);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated use {@linkplain #getJavaLangThrowable(PsiManager, com.intellij.psi.search.GlobalSearchScope)} (todo: to remove in IDEA 12)
|
||||
*/
|
||||
public static PsiClassType getJavaLangTrowable(PsiManager manager, GlobalSearchScope resolveScope) {
|
||||
return getJavaLangThrowable(manager, resolveScope);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the class type for the java.lang.Throwable class.
|
||||
*
|
||||
@@ -130,7 +137,7 @@ public abstract class PsiType implements PsiAnnotationOwner {
|
||||
* @param resolveScope the scope in which the class is searched.
|
||||
* @return the class instance.
|
||||
*/
|
||||
public static PsiClassType getJavaLangTrowable(PsiManager manager, GlobalSearchScope resolveScope) {
|
||||
public static PsiClassType getJavaLangThrowable(PsiManager manager, GlobalSearchScope resolveScope) {
|
||||
return JavaPsiFacade.getInstance(manager.getProject()).getElementFactory().createTypeByFQClassName(CommonClassNames.JAVA_LANG_THROWABLE, resolveScope);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user