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.Members
class_jar
File java_annotation_processing.class_jarDeprecated: Please use
JavaInfo.java_outputs.generated_class_jar
instead.
May return None
.
enabled
bool java_annotation_processing.enabledDeprecated. Returns true if annotation processing was applied on this target.
processor_classnames
list java_annotation_processing.processor_classnamesDeprecated: Please use
JavaInfo.plugins
instead. Returns class names of annotation processors applied to this rule.
processor_classpath
depset java_annotation_processing.processor_classpathDeprecated: Please use
JavaInfo.plugins
instead. Returns a classpath of annotation processors applied to this rule.
source_jar
File java_annotation_processing.source_jarDeprecated: Please use
JavaInfo.java_outputs.generated_source_jar
instead.
May return None
.
transitive_class_jars
depset java_annotation_processing.transitive_class_jarsDeprecated. 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_jarsDeprecated. Returns a transitive set of source archives resulting from annotation processing of this rule and its dependencies.