public class PsiModifierListOwnerPattern<T extends PsiModifierListOwner,Self extends PsiModifierListOwnerPattern<T,Self>> extends PsiElementPattern<T,Self>
Modifier and Type | Class and Description |
---|---|
static class |
PsiModifierListOwnerPattern.Capture<T extends PsiModifierListOwner> |
Modifier | Constructor and Description |
---|---|
protected |
PsiModifierListOwnerPattern(java.lang.Class<T> aClass) |
|
PsiModifierListOwnerPattern(InitialPatternCondition<T> condition) |
Modifier and Type | Method and Description |
---|---|
Self |
withAnnotation(java.lang.String qualifiedName) |
Self |
withAnnotations(java.lang.String... qualifiedNames) |
Self |
withModifiers(java.lang.String... modifiers) |
Self |
withoutModifiers(java.lang.String... modifiers) |
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 PsiModifierListOwnerPattern(InitialPatternCondition<T> condition)
protected PsiModifierListOwnerPattern(java.lang.Class<T> aClass)
public Self withModifiers(java.lang.String... modifiers)
public Self withoutModifiers(java.lang.String... modifiers)
public Self withAnnotation(java.lang.String qualifiedName)
public Self withAnnotations(java.lang.String... qualifiedNames)