public static < T extends StatementTree > NextStatement < T > nextStatement ( Matcher < StatementTree > matcher ) { return new NextStatement <> ( matcher ) ; }
Matches a statement AST node if the following statement in the enclosing block matches the given matcher .