Source:
private void runAnnotProcBuildingResource ( @ javax.annotation.Nonnull com.android.jack.errorhandling.TestingEnvironment te ) throws java.lang.Exception { buildAnnotationRequiredByAnnotationProc ( te , new java.lang.Class < ? > [ ] { com.android.jack.errorhandling.annotationprocessor.ResourceAnnotationTest.class } ) ; te.addFile ( te.getSourceFolder ( ) , "jack.incremental" , "A.java" , ( ( ( ( ( ( ( "package jack.incremental;\n" + "import " ) + ( com.android.jack.errorhandling.annotationprocessor.ResourceAnnotationTest.class . getName ( ) ) ) + ";\n" ) + "@" ) + ( com.android.jack.errorhandling.annotationprocessor.ResourceAnnotationTest.class . getSimpleName ( ) ) ) + "\n" ) + "public class A {}\n" ) ) ; com.android.jack.Options options = new com.android.jack.Options ( ) ; java.util.List < java.lang.String > ecjArgs = new java.util.ArrayList < java.lang.String > ( ) ; ecjArgs.add ( "-d" ) ; ecjArgs.add ( te.getTestingFolder ( ) . getAbsolutePath ( ) ) ; ecjArgs.add ( "-processor" ) ; ecjArgs.add ( com.android.jack.errorhandling.annotationprocessor.ResourceAnnotationProcessor.class . getName ( ) ) ; ecjArgs.add ( te.getSourceFolder ( ) . getAbsolutePath ( ) ) ; options.setEcjArguments ( ecjArgs ) ; options.setClasspath ( ( ( ( com.android.jack.TestTools.getDefaultBootclasspathString ( ) ) + ( java.io.File.pathSeparator ) ) + ( te.getJackFolder ( ) ) ) ) ; te.compile ( options ) ; java.io.File discoverFile = new java.io.File ( te.getTestingFolder ( ) , com.android.jack.errorhandling.annotationprocessor.ResourceAnnotationProcessor.FILENAME ) ; junit.framework.Assert.assertTrue ( discoverFile.exists ( ) ) ; java.io.LineNumberReader lnr = new java.io.LineNumberReader ( new java.io.FileReader ( discoverFile ) ) ; junit.framework.Assert.assertEquals ( com.android.jack.errorhandling.annotationprocessor.ResourceAnnotationTest.class . getName ( ) , lnr.readLine ( ) ) ; junit.framework.Assert.assertEquals ( "jack.incremental.A" , lnr.readLine ( ) ) ; junit.framework.Assert.assertNull ( lnr.readLine ( ) ) ; lnr.close ( ) ; }

Target:
private void runAnnotProcBuildingResource ( @ javax.annotation.Nonnull com.android.jack.errorhandling.TestingEnvironment te ) throws java.lang.Exception { buildAnnotationRequiredByAnnotationProc ( te , new java.lang.Class < ? > [ ] { com.android.jack.errorhandling.annotationprocessor.ResourceAnnotationTest.class } ) ; te.addFile ( te.getSourceFolder ( ) , "jack.incremental" , "A.java" , ( ( ( ( ( ( ( "package jack.incremental;\n" + "import " ) + ( com.android.jack.errorhandling.annotationprocessor.ResourceAnnotationTest.class . getName ( ) ) ) + ";\n" ) + "@" ) + ( com.android.jack.errorhandling.annotationprocessor.ResourceAnnotationTest.class . getSimpleName ( ) ) ) + "\n" ) + "public class A {}\n" ) ) ; com.android.jack.Options options = new com.android.jack.Options ( ) ; java.util.List < java.lang.String > ecjArgs = new java.util.ArrayList < java.lang.String > ( ) ; ecjArgs.add ( "-d" ) ; ecjArgs.add ( te.getTestingFolder ( ) . getAbsolutePath ( ) ) ; ecjArgs.add ( "-processor" ) ; ecjArgs.add ( com.android.jack.errorhandling.annotationprocessor.ResourceAnnotationProcessor.class . getName ( ) ) ; ecjArgs.add ( te.getSourceFolder ( ) . getAbsolutePath ( ) ) ; options.setEcjArguments ( ecjArgs ) ; options.setClasspath ( ( ( ( com.android.jack.TestTools.getDefaultBootclasspathString ( ) ) + ( java.io.File.pathSeparator ) ) + ( te.getJackFolder ( ) ) ) ) ; options.setOutputDir ( com.android.jack.TestTools.createTempDir ( "annot" , "dex" ) ) ; te.compile ( options ) ; java.io.File discoverFile = new java.io.File ( te.getTestingFolder ( ) , com.android.jack.errorhandling.annotationprocessor.ResourceAnnotationProcessor.FILENAME ) ; junit.framework.Assert.assertTrue ( discoverFile.exists ( ) ) ; java.io.LineNumberReader lnr = new java.io.LineNumberReader ( new java.io.FileReader ( discoverFile ) ) ; junit.framework.Assert.assertEquals ( com.android.jack.errorhandling.annotationprocessor.ResourceAnnotationTest.class . getName ( ) , lnr.readLine ( ) ) ; junit.framework.Assert.assertEquals ( "jack.incremental.A" , lnr.readLine ( ) ) ; junit.framework.Assert.assertNull ( lnr.readLine ( ) ) ; lnr.close ( ) ; }