public class PsiExpressionPattern<T extends PsiExpression,Self extends PsiExpressionPattern<T,Self>> extends PsiJavaElementPattern<T,Self>
| Modifier and Type | Class and Description |
|---|---|
static class |
PsiExpressionPattern.Capture<T extends PsiExpression> |
| Modifier | Constructor and Description |
|---|---|
protected |
PsiExpressionPattern(java.lang.Class<T> aClass) |
| Modifier and Type | Method and Description |
|---|---|
PsiMethodCallPattern |
methodCall(ElementPattern<? extends PsiMethod> method) |
Self |
ofType(ElementPattern pattern) |
Self |
skipParentheses(ElementPattern<? extends PsiExpression> expressionPattern) |
annotationParam, annotationParam, annotationParam, annotationParam, annotationParam, constructorParameter, insideAnnotationParam, insideAnnotationParam, insideAnnotationParam, methodCallParameter, methodCallParameter, nameIdentifierOf, nameIdentifierOfafterLeaf, afterLeaf, afterLeafSkipping, atStartOf, beforeLeaf, beforeLeaf, beforeLeafSkipping, compiled, equalTo, getChildren, getParent, inFile, insideStarting, inVirtualFile, notEmpty, referencing, whitespace, whitespaceCommentEmptyOrError, whitespaceCommentOrError, withElementType, withElementType, withElementType, withFirstNonWhitespaceChild, withLanguage, withLastChildSkipping, withMetaData, withName, withName, withName, withoutText, withoutText, withReference, withText, withText, withTextLength, withTextLengthLongerThan, withTreeParentafterSibling, afterSiblingSkipping, inside, inside, inside, inside, insideSequence, isFirstAcceptedChild, withAncestor, withChild, withChildren, withFirstChild, withLastChild, withParent, withParent, withParents, withSuperParent, withSuperParentprotected PsiExpressionPattern(java.lang.Class<T> aClass)
public Self ofType(ElementPattern pattern)
public PsiMethodCallPattern methodCall(ElementPattern<? extends PsiMethod> method)
public Self skipParentheses(ElementPattern<? extends PsiExpression> expressionPattern)