fix compilation

This commit is contained in:
Maxim.Medvedev
2011-10-26 17:27:53 +04:00
parent 5d880ffee2
commit 8cf40f2762
4 changed files with 10 additions and 4 deletions
@@ -125,5 +125,6 @@ public interface JVMElementFactory {
@NotNull
PsiAnnotation createAnnotationFromText(@NotNull @NonNls String annotationText, @Nullable PsiElement context) throws IncorrectOperationException;
PsiElement createExpressionFromText(String text, PsiElement ctx) throws IncorrectOperationException;
@NotNull
PsiElement createExpressionFromText(@NotNull @NonNls String text, @Nullable PsiElement context) throws IncorrectOperationException;
}
@@ -453,4 +453,7 @@ public interface PsiElementFactory extends PsiJavaParserFacade, JVMElementFactor
*/
@NotNull
PsiCatchSection createCatchSection(@NotNull PsiType exceptionType, @NotNull String exceptionName, @Nullable PsiElement context) throws IncorrectOperationException;
@NotNull
PsiExpression createExpressionFromText(@NotNull String text, PsiElement context) throws IncorrectOperationException;
}