public class NeverSkipFromAst extends Object implements AstNodeSkippingPolicy
Modifier and Type | Field and Description |
---|---|
static NeverSkipFromAst |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
boolean |
hasToBeSkippedFromAst(AstNode node)
Some AstNode can be pretty useless and makes a global AST less readable.
|
public static final NeverSkipFromAst INSTANCE
public boolean hasToBeSkippedFromAst(AstNode node)
AstNodeSkippingPolicy
hasToBeSkippedFromAst
in interface AstNodeSkippingPolicy
node
- the node that should or not be removed from the ASTCopyright © 2009–2017 SonarSource. All rights reserved.