Package org.sonar.java.matcher
Class MethodMatchersList
- java.lang.Object
-
- org.sonar.java.matcher.MethodMatchersList
-
- All Implemented Interfaces:
MethodMatchers
public class MethodMatchersList extends Object implements MethodMatchers
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.sonar.plugins.java.api.semantic.MethodMatchers
MethodMatchers.NameBuilder, MethodMatchers.ParametersBuilder, MethodMatchers.TypeBuilder
-
-
Field Summary
-
Fields inherited from interface org.sonar.plugins.java.api.semantic.MethodMatchers
ANY, CONSTRUCTOR
-
-
Constructor Summary
Constructors Constructor Description MethodMatchersList(List<? extends MethodMatchers> matchers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(Symbol symbol)
boolean
matches(MethodInvocationTree mit)
boolean
matches(MethodReferenceTree methodReferenceTree)
boolean
matches(MethodTree methodTree)
boolean
matches(NewClassTree newClassTree)
-
-
-
Constructor Detail
-
MethodMatchersList
public MethodMatchersList(List<? extends MethodMatchers> matchers)
-
-
Method Detail
-
matches
public boolean matches(NewClassTree newClassTree)
- Specified by:
matches
in interfaceMethodMatchers
-
matches
public boolean matches(MethodInvocationTree mit)
- Specified by:
matches
in interfaceMethodMatchers
-
matches
public boolean matches(MethodTree methodTree)
- Specified by:
matches
in interfaceMethodMatchers
-
matches
public boolean matches(MethodReferenceTree methodReferenceTree)
- Specified by:
matches
in interfaceMethodMatchers
-
matches
public boolean matches(Symbol symbol)
- Specified by:
matches
in interfaceMethodMatchers
-
-