AlwaysSkipFromAst implements AstNodeSkippingPolicy { @Override public boolean hasToBeSkippedFromAst(AstNode node) { return true; } private  AlwaysSkipFromAst(); @Override boolean hasToBeSkippedFromAst(AstNode node); static final AlwaysSkipFromAst INSTANCE; }
@Test public void test() { AstNode astNode = mock(AstNode.class); assertThat(AlwaysSkipFromAst.INSTANCE.hasToBeSkippedFromAst(astNode)).isTrue(); }