Package org.sonar.java.matcher
Class MethodMatcherCollection
- java.lang.Object
-
- org.sonar.java.matcher.MethodMatcherCollection
-
public class MethodMatcherCollection extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodMatcherCollectionadd(MethodMatcher matcher)MethodMatcherCollectionaddAll(Collection<MethodMatcher> matchers)booleananyMatch(Symbol symbol)booleananyMatch(MethodInvocationTree mit)booleananyMatch(MethodReferenceTree methodReferenceTree)booleananyMatch(MethodTree method)booleananyMatch(NewClassTree newClassTree)static MethodMatcherCollectioncreate(MethodMatcher... matchers)
-
-
-
Method Detail
-
create
public static MethodMatcherCollection create(MethodMatcher... matchers)
-
add
public MethodMatcherCollection add(MethodMatcher matcher)
-
addAll
public MethodMatcherCollection addAll(Collection<MethodMatcher> matchers)
-
anyMatch
public boolean anyMatch(Symbol symbol)
-
anyMatch
public boolean anyMatch(MethodInvocationTree mit)
-
anyMatch
public boolean anyMatch(MethodTree method)
-
anyMatch
public boolean anyMatch(NewClassTree newClassTree)
-
anyMatch
public boolean anyMatch(MethodReferenceTree methodReferenceTree)
-
-