Module ImportFrom alias alias alias alias alias alias alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr Str body Pass With Call AttributeLoad NameLoad attr Str body Pass decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body With Call AttributeLoad NameLoad attr NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Str keyword ListLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body With Call AttributeLoad NameLoad attr NameStore body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword ListLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body With Call AttributeLoad NameLoad attr NameStore body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword ListLoad Str Call AttributeLoad Str attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad Str attr Str Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Assign NameStore SubscriptLoad Call NameLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str With Call NameLoad NameLoad NameStore body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad Str attr Str With Call NameLoad Call AttributeLoad NameLoad attr NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad Str attr NameLoad With Call AttributeLoad NameLoad attr NameStore body With Call AttributeLoad NameLoad attr NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body With Call AttributeLoad NameLoad attr NameStore body If NameLoad body Assign NameStore Str orelse Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad Str attr NameLoad keyword ListLoad NameLoad Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Expr Call NameLoad Str keyword NameLoad keyword NameLoad Expr Call NameLoad Str keyword NameLoad keyword NameLoad Expr Call NameLoad Str keyword NameLoad keyword NameLoad Expr Call NameLoad Str keyword NameLoad keyword NameLoad Expr Call NameLoad Str keyword NameLoad keyword NameLoad Expr Call NameLoad Str keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad With Call AttributeLoad NameLoad attr NameLoad keyword ListLoad NameLoad Str keyword ListLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad With Call AttributeLoad NameLoad attr NameLoad keyword ListLoad Str keyword ListLoad Str NameStore body Expr Call AttributeLoad NameLoad attr CompareIn NameLoad NameLoad decorator_list decorator_list
N/A __future__ absolute_import division generators nested_scopes print_function unicode_literals with_statement N/A os pants.build_graph.address Address pants.build_graph.target Target pants_test.backend.jvm.tasks.jvm_compile.base_compile_integration_test BaseCompileIT ZincCompileIntegrationTest N/A BaseCompileIT N/A test_java_src_zinc_compile N/A N/A self N/A N/A N/A N/A N/A self do_test_compile examples/src/java/:: N/A N/A N/A N/A N/A self do_test_compile examples/tests/java/:: N/A N/A N/A test_in_process N/A N/A self N/A N/A N/A N/A N/A self temporary_workdir workdir N/A N/A N/A N/A self temporary_cachedir cachedir N/A N/A pants_run N/A N/A self run_test_compile workdir cachedir examples/src/java/org/pantsbuild/example/hello/main extra_args N/A -ldebug clean_all True N/A N/A N/A self assertIn Attempting to call com.sun.tools.javac.api.JavacTool N/A pants_run stdout_data N/A N/A N/A self assertNotIn Forking javac N/A pants_run stdout_data N/A test_log_level N/A N/A self N/A N/A N/A N/A N/A self temporary_workdir workdir N/A N/A N/A N/A self temporary_cachedir cachedir N/A N/A target testprojects/src/java/org/pantsbuild/testproject/dummies:compilation_failure_target N/A pants_run N/A N/A self run_test_compile workdir cachedir target extra_args N/A --no-colors clean_all True N/A N/A N/A self assertIn [warn] import sun.security.x509.X500Name; N/A pants_run stdout_data N/A N/A N/A self assertIn [error]     System2.out.println("Hello World!"); N/A pants_run stdout_data N/A test_unicode_source_symbol N/A N/A self N/A N/A N/A N/A N/A self temporary_workdir workdir N/A N/A N/A N/A self temporary_cachedir cachedir N/A N/A target testprojects/src/scala/org/pantsbuild/testproject/unicode/unicodedep/consumer N/A pants_run N/A N/A self run_test_compile workdir cachedir target extra_args N/A --compile-zinc-name-hashing N/A N/A --cache-compile-zinc-write-to=["{}/dummy_artifact_cache_dir"] format cachedir clean_all True N/A N/A N/A self assert_success pants_run N/A test_apt_compile N/A N/A self N/A N/A N/A N/A N/A self do_test_compile testprojects/src/java/org/pantsbuild/testproject/annotation/processor expected_files N/A ResourceMappingProcessor.class javax.annotation.processing.Processor found N/A N/A N/A N/A self assertTrue N/A N/A N/A N/A self get_only found ResourceMappingProcessor.class endswith org/pantsbuild/testproject/annotation/processor/ResourceMappingProcessor.class N/A processor_service_files N/A found N/A javax.annotation.processing.Processor N/A N/A N/A self assertEqual 1 N/A len processor_service_files N/A processor_service_file N/A N/A list processor_service_files N/A 0 N/A N/A N/A self assertTrue N/A N/A processor_service_file endswith META-INF/services/javax.annotation.processing.Processor N/A N/A open processor_service_file fp N/A N/A N/A N/A self assertEqual org.pantsbuild.testproject.annotation.processor.ResourceMappingProcessor N/A N/A N/A N/A fp read strip N/A test_apt_compile_and_run N/A N/A self N/A N/A N/A N/A N/A self do_test_compile testprojects/src/java/org/pantsbuild/testproject/annotation/main expected_files N/A Main.class deprecation_report.txt found N/A N/A N/A N/A self assertTrue N/A N/A N/A N/A self get_only found Main.class endswith org/pantsbuild/testproject/annotation/main/Main.class N/A N/A open N/A N/A self get_only found deprecation_report.txt fp N/A N/A N/A N/A self assertIn org.pantsbuild.testproject.annotation.main.Main N/A N/A N/A N/A fp read splitlines N/A test_stale_apt_with_deps N/A N/A self N/A N/A N/A An annotation processor with a dependency doesn't pollute other annotation processors.

    At one point, when you added an annotation processor, it stayed configured for all subsequent
    compiles.  Meaning that if that annotation processor had a dep that wasn't on the classpath,
    subsequent compiles would fail with missing symbols required by the stale annotation processor.
     N/A N/A N/A self do_test_compile testprojects/src/java/org/pantsbuild/testproject/annotation/processorwithdep/main expected_files N/A Main.class Main_HelloWorld.class Main_HelloWorld.java found N/A N/A gen_file N/A N/A self get_only found Main_HelloWorld.java N/A N/A N/A self assertTrue N/A N/A gen_file endswith org/pantsbuild/testproject/annotation/processorwithdep/main/Main_HelloWorld.java msg N/A N/A {} does not match format gen_file N/A N/A N/A self temporary_workdir workdir N/A N/A N/A N/A self temporary_cachedir cachedir N/A N/A N/A N/A self assert_success N/A N/A self run_test_compile workdir cachedir testprojects/src/java/org/pantsbuild/testproject/annotation/processorwithdep:: N/A N/A N/A self assert_success N/A N/A self run_test_compile workdir cachedir testprojects/src/java/org/pantsbuild/testproject/annotation/processor:: clean_all False N/A test_fatal_warning N/A N/A self N/A N/A test_combination N/A N/A target default_fatal_warnings expect_success N/A N/A N/A N/A N/A self temporary_workdir workdir N/A N/A N/A N/A self temporary_cachedir cachedir N/A N/A default_fatal_warnings N/A N/A arg --java-fatal-warnings N/A N/A arg --no-java-fatal-warnings N/A pants_run N/A N/A self run_test_compile workdir cachedir N/A N/A testprojects/src/java/org/pantsbuild/testproject/compilation_warnings:{} format target extra_args N/A arg --compile-zinc-warning-args=-C-Xlint:all N/A expect_success N/A N/A N/A N/A self assert_success pants_run N/A N/A N/A N/A self assert_failure pants_run N/A N/A N/A test_combination defaultfatal default_fatal_warnings True expect_success False N/A N/A test_combination defaultfatal default_fatal_warnings False expect_success True N/A N/A test_combination fatal default_fatal_warnings True expect_success False N/A N/A test_combination fatal default_fatal_warnings False expect_success False N/A N/A test_combination nonfatal default_fatal_warnings True expect_success True N/A N/A test_combination nonfatal default_fatal_warnings False expect_success True N/A test_record_classpath N/A N/A self N/A N/A N/A target_spec testprojects/src/java/org/pantsbuild/testproject/printversion:printversion N/A target_id N/A N/A Target compute_target_id N/A N/A Address parse target_spec N/A classpath_filename N/A N/A {}.txt format target_id N/A N/A N/A self do_test_compile target_spec expected_files N/A classpath_filename PrintVersion.class extra_args N/A --compile-zinc-capture-classpath found N/A N/A found_classpath_file N/A N/A self get_only found classpath_filename N/A N/A N/A self assertTrue N/A N/A found_classpath_file endswith N/A N/A N/A os path join compile_classpath classpath_filename N/A N/A open found_classpath_file r f N/A N/A N/A N/A self assertIn target_id N/A N/A f read N/A test_no_record_classpath N/A N/A self N/A N/A N/A target_spec testprojects/src/java/org/pantsbuild/testproject/printversion:printversion N/A target_id N/A N/A Target compute_target_id N/A N/A Address parse target_spec N/A classpath_filename N/A N/A {}.txt format target_id N/A N/A N/A self do_test_compile target_spec expected_files N/A PrintVersion.class extra_args N/A --no-compile-zinc-capture-classpath found N/A N/A N/A N/A self assertFalse N/A classpath_filename found N/A N/A