Package com.google.errorprone.matchers
Class Returns
java.lang.Object
com.google.errorprone.matchers.Returns
- All Implemented Interfaces:
Matcher<com.sun.source.tree.StatementTree>
,Serializable
Matches a
return
statement whose returned expression is matched by the given matcher.- Author:
- schmitt@google.com (Peter Schmitt)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(com.sun.source.tree.StatementTree expressionTree, VisitorState state)