mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
JPA inspections: maps & ternary relationship support
This commit is contained in:
@@ -105,4 +105,9 @@ public class PsiTypesUtil {
|
||||
final String s = ourBoxedTypes.get(type);
|
||||
return s == null ? type : s;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public static PsiClass getPsiClass(final PsiType psiType) {
|
||||
return psiType instanceof PsiClassType? ((PsiClassType)psiType).resolve() : null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user