public class HighlightClassUtil
extends java.lang.Object
Constructor and Description |
---|
HighlightClassUtil() |
Modifier and Type | Method and Description |
---|---|
static HighlightInfo |
checkAnonymousInheritProhibited(PsiNewExpression expression) |
static HighlightInfo |
checkCreateInnerClassFromStaticContext(PsiElement element,
PsiExpression qualifier,
PsiClass aClass) |
static HighlightInfo |
checkIllegalInstanceMemberInRecord(PsiMember member) |
static HighlightInfo |
checkWellFormedRecord(PsiClass psiClass) |
static boolean |
isRestrictedIdentifier(java.lang.String typeName,
LanguageLevel level) |
public static boolean isRestrictedIdentifier(java.lang.String typeName, LanguageLevel level)
typeName
- name of the type to testlevel
- language levelpublic static HighlightInfo checkCreateInnerClassFromStaticContext(PsiElement element, PsiExpression qualifier, PsiClass aClass)
public static HighlightInfo checkWellFormedRecord(PsiClass psiClass)
public static HighlightInfo checkIllegalInstanceMemberInRecord(PsiMember member)
public static HighlightInfo checkAnonymousInheritProhibited(PsiNewExpression expression)