public class PsiJavaElementPattern<T extends PsiElement,Self extends PsiJavaElementPattern<T,Self>> extends PsiElementPattern<T,Self>
Modifier and Type | Class and Description |
---|---|
static class |
PsiJavaElementPattern.Capture<T extends PsiElement> |
Constructor and Description |
---|
PsiJavaElementPattern(java.lang.Class<T> aClass) |
PsiJavaElementPattern(InitialPatternCondition<T> condition) |
Modifier and Type | Method and Description |
---|---|
Self |
annotationParam(ElementPattern<? extends PsiAnnotation> annotation) |
Self |
annotationParam(ElementPattern<java.lang.String> annotationQualifiedName,
java.lang.String parameterName) |
Self |
annotationParam(java.lang.String annotationQualifiedName) |
Self |
annotationParam(java.lang.String parameterName,
ElementPattern<? extends PsiAnnotation> annotation) |
Self |
annotationParam(java.lang.String annotationQualifiedName,
java.lang.String parameterName) |
Self |
constructorParameter(int index,
java.lang.String... fqns) |
Self |
insideAnnotationParam(ElementPattern<java.lang.String> annotationQualifiedName) |
Self |
insideAnnotationParam(ElementPattern<java.lang.String> annotationQualifiedName,
java.lang.String parameterName) |
Self |
insideAnnotationParam(java.lang.String annotationQualifiedName) |
Self |
methodCallParameter(ElementPattern<? extends PsiMethod> methodPattern) |
Self |
methodCallParameter(int index,
ElementPattern<? extends PsiMethod> methodPattern) |
Self |
nameIdentifierOf(java.lang.Class<? extends PsiMember> aClass) |
Self |
nameIdentifierOf(ElementPattern<? extends PsiMember> pattern) |
afterLeaf, 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, withTreeParent
afterSibling, afterSiblingSkipping, inside, inside, inside, inside, insideSequence, isFirstAcceptedChild, withAncestor, withChild, withChildren, withFirstChild, withLastChild, withParent, withParent, withParents, withSuperParent, withSuperParent
public PsiJavaElementPattern(java.lang.Class<T> aClass)
public PsiJavaElementPattern(InitialPatternCondition<T> condition)
public Self annotationParam(java.lang.String annotationQualifiedName, java.lang.String parameterName)
public Self annotationParam(java.lang.String annotationQualifiedName)
public Self annotationParam(ElementPattern<java.lang.String> annotationQualifiedName, java.lang.String parameterName)
public Self annotationParam(ElementPattern<? extends PsiAnnotation> annotation)
public Self annotationParam(java.lang.String parameterName, ElementPattern<? extends PsiAnnotation> annotation)
public Self insideAnnotationParam(ElementPattern<java.lang.String> annotationQualifiedName, java.lang.String parameterName)
public Self insideAnnotationParam(ElementPattern<java.lang.String> annotationQualifiedName)
public Self insideAnnotationParam(java.lang.String annotationQualifiedName)
public Self nameIdentifierOf(ElementPattern<? extends PsiMember> pattern)
public Self methodCallParameter(int index, ElementPattern<? extends PsiMethod> methodPattern)
public Self methodCallParameter(ElementPattern<? extends PsiMethod> methodPattern)
public Self constructorParameter(int index, java.lang.String... fqns)