public class AlwaysSkipFromAst extends Object implements AstNodeSkippingPolicy
Modifier and Type | Field and Description |
---|---|
static AlwaysSkipFromAst |
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 AlwaysSkipFromAst 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.