protected void checkInvalidOptionsInferSignatures(){
  if (checker.useUncheckedCodeDefault("source") || checker.useUncheckedCodeDefault("bytecode")) {
    ErrorReporter.errorAbort("The option -Ainfer cannot be" + " used together with unchecked code defaults.");
  }
}

protected void checkInvalidOptionsInferSignatures ( ) { if ( checker . useUncheckedCodeDefault ( "source" ) || checker . useUncheckedCodeDefault ( "bytecode" ) ) { ErrorReporter . errorAbort ( "The option -Ainfer cannot be" + " used together with unchecked code defaults." ) ; } }
this method is called only when - ainfer is passed as an option . it checks if another option that should not occur simultaneously with the whole - program inference is also passed as argument , and aborts the process if that is the case . for example , the whole - program inference process was not designed to work with unchecked code defaults . ( subclasses may override this method to add more options . )
