private boolean isToIgnore ( CtElement element ) { if ( element instanceof CtStatementList && ! ( element instanceof CtCase ) ) { if ( element . getRoleInParent ( ) == CtRole . ELSE || element . getRoleInParent ( ) == CtRole . THEN ) { return false ; } return true ; } return element . isImplicit ( ) || element instanceof CtReference ; }
Ignore some element from the AST