public class PsiJavaPatterns extends StandardPatterns
Constructor and Description |
---|
PsiJavaPatterns() |
alwaysFalse, and, character, collection, collection, get, instanceOf, instanceOf, not, object, object, optional, or, save, string
public static IElementTypePattern elementType()
public static VirtualFilePattern virtualFile()
public static PsiJavaElementPattern.Capture<PsiElement> psiElement()
public static PsiJavaElementPattern.Capture<PsiElement> psiElement(IElementType type)
public static <T extends PsiElement> PsiJavaElementPattern.Capture<T> psiElement(java.lang.Class<T> aClass)
@SafeVarargs public static PsiJavaElementPattern.Capture<PsiElement> psiElement(java.lang.Class<? extends PsiElement>... classAlternatives)
public static PsiJavaElementPattern.Capture<PsiLiteralExpression> literalExpression()
public static PsiJavaElementPattern.Capture<PsiLiteral> psiLiteral()
public static PsiJavaElementPattern.Capture<PsiLiteral> psiLiteral(ElementPattern<?> value)
public static PsiJavaElementPattern.Capture<PsiNewExpression> psiNewExpression(java.lang.String... fqns)
public static PsiJavaElementPattern.Capture<PsiLiteralExpression> literalExpression(ElementPattern<?> value)
public static PsiMemberPattern.Capture psiMember()
public static PsiMethodPattern psiMethod()
public static PsiParameterPattern psiParameter()
public static PsiModifierListOwnerPattern.Capture<PsiModifierListOwner> psiModifierListOwner()
public static PsiFieldPattern psiField()
public static PsiClassPattern psiClass()
public static PsiAnnotationPattern psiAnnotation()
public static PsiNameValuePairPattern psiNameValuePair()
public static PsiTypePattern psiType()
public static PsiExpressionPattern.Capture<PsiExpression> psiExpression()
public static PsiBinaryExpressionPattern psiBinaryExpression()
public static PsiTypeCastExpressionPattern psiTypeCastExpression()
public static PsiJavaElementPattern.Capture<PsiReferenceExpression> psiReferenceExpression()
public static PsiStatementPattern.Capture<PsiExpressionStatement> psiExpressionStatement()
public static PsiStatementPattern.Capture<PsiReturnStatement> psiReturnStatement()