public class JavaHighlightUtil
extends java.lang.Object
Constructor and Description |
---|
JavaHighlightUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
checkPsiTypeUseInContext(PsiType type,
PsiElement context) |
static java.lang.String |
formatMethod(PsiMethod method) |
static java.lang.String |
formatType(PsiType type) |
static java.util.List<PsiMethod> |
getChainedConstructors(PsiMethod constructor)
return all constructors which are referred from this constructor by
this (...) at the beginning of the constructor body
|
static java.lang.String |
invalidJavaTypeMessage() |
static boolean |
isSerializable(PsiClass aClass) |
static boolean |
isSerializable(PsiClass aClass,
java.lang.String serializableClassName) |
static boolean |
isSerializationRelatedMethod(PsiMethod method,
PsiClass containingClass) |
static boolean |
isSuperOrThisCall(PsiStatement statement,
boolean testForSuper,
boolean testForThis) |
static PsiType |
sameType(PsiExpression [] expressions) |
public static boolean isSerializable(PsiClass aClass)
public static boolean isSerializable(PsiClass aClass, java.lang.String serializableClassName)
public static boolean isSerializationRelatedMethod(PsiMethod method, PsiClass containingClass)
public static java.lang.String formatType(PsiType type)
public static PsiType sameType(PsiExpression [] expressions)
public static java.lang.String formatMethod(PsiMethod method)
public static boolean isSuperOrThisCall(PsiStatement statement, boolean testForSuper, boolean testForThis)
public static java.util.List<PsiMethod> getChainedConstructors(PsiMethod constructor)
public static java.lang.String checkPsiTypeUseInContext(PsiType type, PsiElement context)
public static java.lang.String invalidJavaTypeMessage()