public class AjASTMatcher extends ASTMatcher
| Constructor and Description |
|---|
AjASTMatcher()
Creates a new AST matcher instance.
|
AjASTMatcher(boolean matchDocTags)
Creates a new AST matcher instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
match(AfterAdviceDeclaration node,
java.lang.Object other) |
boolean |
match(AndPointcut node,
java.lang.Object other) |
boolean |
match(AndTypePattern node,
java.lang.Object other) |
boolean |
match(AnyTypePattern node,
java.lang.Object other) |
boolean |
match(AnyWithAnnotationTypePattern node,
java.lang.Object other) |
boolean |
match(AroundAdviceDeclaration node,
java.lang.Object other) |
boolean |
match(BeforeAdviceDeclaration node,
java.lang.Object other) |
boolean |
match(CflowPointcut node,
java.lang.Object other) |
boolean |
match(DeclareDeclaration node,
java.lang.Object other) |
boolean |
match(DefaultPointcut node,
java.lang.Object other) |
boolean |
match(DefaultTypePattern node,
java.lang.Object other) |
boolean |
match(EllipsisTypePattern node,
java.lang.Object other) |
boolean |
match(HasMemberTypePattern node,
java.lang.Object other) |
boolean |
match(IdentifierTypePattern node,
java.lang.Object other) |
boolean |
match(InterTypeFieldDeclaration node,
java.lang.Object other) |
boolean |
match(InterTypeMethodDeclaration node,
java.lang.Object other) |
boolean |
match(NotPointcut node,
java.lang.Object other) |
boolean |
match(NotTypePattern node,
java.lang.Object other) |
boolean |
match(NoTypePattern node,
java.lang.Object other) |
boolean |
match(OrPointcut node,
java.lang.Object other) |
boolean |
match(OrTypePattern node,
java.lang.Object other) |
boolean |
match(PerCflow node,
java.lang.Object other) |
boolean |
match(PerObject node,
java.lang.Object other) |
boolean |
match(PerTypeWithin node,
java.lang.Object other) |
boolean |
match(PointcutDeclaration node,
java.lang.Object other) |
boolean |
match(ReferencePointcut node,
java.lang.Object other) |
boolean |
match(SignaturePattern node,
java.lang.Object other) |
boolean |
match(TypeCategoryTypePattern node,
java.lang.Object other) |
boolean |
match(Type type,
java.lang.Object other) |
match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, safeEquals, safeSubtreeListMatch, safeSubtreeMatchpublic AjASTMatcher()
For backwards compatibility, the matcher ignores tag elements below doc comments by default. Use ASTMatcher(true) for a matcher that compares doc tags by default.
public AjASTMatcher(boolean matchDocTags)
matchDocTags - true if doc comment tags are to be compared by default, and false otherwiseASTMatcher.match(Javadoc,Object)public boolean match(PointcutDeclaration node, java.lang.Object other)
public boolean match(DefaultPointcut node, java.lang.Object other)
public boolean match(ReferencePointcut node, java.lang.Object other)
public boolean match(NotPointcut node, java.lang.Object other)
public boolean match(PerObject node, java.lang.Object other)
public boolean match(PerCflow node, java.lang.Object other)
public boolean match(PerTypeWithin node, java.lang.Object other)
public boolean match(CflowPointcut node, java.lang.Object other)
public boolean match(AndPointcut node, java.lang.Object other)
public boolean match(OrPointcut node, java.lang.Object other)
public boolean match(BeforeAdviceDeclaration node, java.lang.Object other)
public boolean match(AfterAdviceDeclaration node, java.lang.Object other)
public boolean match(AroundAdviceDeclaration node, java.lang.Object other)
public boolean match(DeclareDeclaration node, java.lang.Object other)
public boolean match(InterTypeFieldDeclaration node, java.lang.Object other)
public boolean match(InterTypeMethodDeclaration node, java.lang.Object other)
public boolean match(DefaultTypePattern node, java.lang.Object other)
public boolean match(SignaturePattern node, java.lang.Object other)
public boolean match(AndTypePattern node, java.lang.Object other)
public boolean match(OrTypePattern node, java.lang.Object other)
public boolean match(AnyTypePattern node, java.lang.Object other)
public boolean match(AnyWithAnnotationTypePattern node, java.lang.Object other)
public boolean match(EllipsisTypePattern node, java.lang.Object other)
public boolean match(NotTypePattern node, java.lang.Object other)
public boolean match(NoTypePattern node, java.lang.Object other)
public boolean match(HasMemberTypePattern node, java.lang.Object other)
public boolean match(IdentifierTypePattern node, java.lang.Object other)
public boolean match(TypeCategoryTypePattern node, java.lang.Object other)
public boolean match(Type type, java.lang.Object other)