protected boolean isCompletelySuppressed(NodeSpec nodeSpec){
  if (nodeSpec.getSuppression() == null) {
    return false;
  }
switch (nodeSpec.getSuppression()) {
case ENTITY_CONFIGURATION:
    return true;
case GENERATED_CODE:
  return true;
case GENERATED_CODE_SETTER:
return false;
default :
throw new IllegalStateException("Missing case for SuppressionSpec " + nodeSpec.getSuppression());
}
}

protected boolean isCompletelySuppressed ( NodeSpec nodeSpec ) { if ( nodeSpec . getSuppression ( ) == null ) { return false ; } switch ( nodeSpec . getSuppression ( ) ) { case ENTITY_CONFIGURATION : return true ; case GENERATED_CODE : return true ; case GENERATED_CODE_SETTER : return false ; default : throw new IllegalStateException ( "Missing case for SuppressionSpec " + nodeSpec . getSuppression ( ) ) ; } }
checks if the nodespec is completely suppressed from code generation .
