IMPORTANT: The Bazel docs have moved! Please update your bookmark to https://bazel.build/rules/lib/java_annotation_processing

You can read about the migration, and let us know what you think.

Extensions > API reference > java_annotation_processing

java_annotation_processing

Information about jars that are a result of annotation processing for a Java rule.

class_jar

File java_annotation_processing.class_jar

Deprecated: Please use JavaInfo.java_outputs.generated_class_jar instead. May return None.

enabled

bool java_annotation_processing.enabled

Deprecated. Returns true if annotation processing was applied on this target.

processor_classnames

list java_annotation_processing.processor_classnames

Deprecated: Please use JavaInfo.plugins instead. Returns class names of annotation processors applied to this rule.

processor_classpath

depset java_annotation_processing.processor_classpath

Deprecated: Please use JavaInfo.plugins instead. Returns a classpath of annotation processors applied to this rule.

source_jar

File java_annotation_processing.source_jar

Deprecated: Please use JavaInfo.java_outputs.generated_source_jar instead. May return None.

transitive_class_jars

depset java_annotation_processing.transitive_class_jars

Deprecated. Returns a transitive set of class file jars resulting from annotation processing of this rule and its dependencies.

transitive_source_jars

depset java_annotation_processing.transitive_source_jars

Deprecated. Returns a transitive set of source archives resulting from annotation processing of this rule and its dependencies.