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)
AstNodeSkippingPolicyhasToBeSkippedFromAst in interface AstNodeSkippingPolicynode - the node that should or not be removed from the ASTCopyright © 2009–2018 SonarSource. All rights reserved.