public void init ( String ownName , String ... args ) { this . ownName = ownName ; errorMode = ErrorMode . LOG ; files = new LinkedHashSet <> ( ) ; deferredFileManagerOptions = new LinkedHashMap <> ( ) ; fileObjects = null ; classNames = new LinkedHashSet <> ( ) ; processArgs ( List . from ( args ) , Option . getJavaCompilerOptions ( ) , cmdLineHelper , true , false ) ; if ( errors ) { log . printLines ( PrefixKind . JAVAC , "msg.usage" , ownName ) ; } }
Initializes this Args instance with a set of command line args . The args will be processed in conjunction with the full set of command line options including - help - version etc . The args may also contain class names and filenames . Any errors during this call and later during validate will be reported to the log .