public abstract class JavaPostfixTemplatesUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Condition<PsiElement> |
IS_ARRAY
Deprecated.
use
isArray(PsiType) |
static Condition<PsiElement> |
IS_BOOLEAN |
static Condition<PsiElement> |
IS_ITERABLE_OR_ARRAY
Deprecated.
|
static Condition<PsiElement> |
IS_NON_VOID |
static Condition<PsiElement> |
IS_NOT_PRIMITIVE |
static Condition<PsiElement> |
IS_NUMBER |
static Condition<PsiElement> |
IS_THROWABLE
Deprecated.
|
static PostfixTemplatePsiInfo |
JAVA_PSI_INFO |
public static final PostfixTemplatePsiInfo JAVA_PSI_INFO
public static final Condition<PsiElement> IS_NUMBER
public static final Condition<PsiElement> IS_BOOLEAN
@Deprecated public static final Condition<PsiElement> IS_THROWABLE
isThrowable(PsiType)
public static final Condition<PsiElement> IS_NON_VOID
public static final Condition<PsiElement> IS_NOT_PRIMITIVE
@Deprecated public static final Condition<PsiElement> IS_ARRAY
isArray(PsiType)
@Deprecated public static final Condition<PsiElement> IS_ITERABLE_OR_ARRAY
isIterable(PsiType)
/ isArray(PsiType)
public static PostfixTemplateExpressionSelector atLeastJava8Selector(PostfixTemplateExpressionSelector selector)
public static PostfixTemplateExpressionSelector minimalLanguageLevelSelector(PostfixTemplateExpressionSelector selector, LanguageLevel minimalLevel)
@Deprecated public static PostfixTemplateExpressionSelector selectorTopmost()
selectorTopmost(Condition)
public static PostfixTemplateExpressionSelector selectorTopmost(Condition<PsiElement> additionalFilter)
public static PostfixTemplateExpressionSelector selectorAllExpressionsWithCurrentOffset(Condition<PsiElement> additionalFilter)
public static boolean isNotPrimitiveTypeExpression(PsiExpression expression)
public static boolean isIterable(PsiType type)
public static boolean isThrowable(PsiType type)
public static boolean isArray(PsiType type)
public static boolean isBoolean(PsiType type)
public static boolean isNonVoid(PsiType type)
public static boolean isNumber(PsiType type)
public static Function<PsiElement,java.lang.String> getRenderer()
public static PsiExpression getTopmostExpression(PsiElement context)