mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-54930 - IOE: PsiJavaParserFacadeImpl.createExpressionFromText
This commit is contained in:
@@ -66,12 +66,14 @@ public class PsiWildcardType extends PsiType.Stub {
|
||||
@NotNull
|
||||
public static PsiWildcardType createExtends(@NotNull PsiManager manager, @NotNull PsiType bound) {
|
||||
LOG.assertTrue(!(bound instanceof PsiWildcardType));
|
||||
LOG.assertTrue(bound != PsiType.NULL);
|
||||
return new PsiWildcardType(manager, true, bound);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static PsiWildcardType createSuper(@NotNull PsiManager manager, @NotNull PsiType bound) {
|
||||
LOG.assertTrue(!(bound instanceof PsiWildcardType));
|
||||
LOG.assertTrue(bound != PsiType.NULL);
|
||||
return new PsiWildcardType(manager, false, bound);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user