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

Returns a jar File that is a result of annotation processing for this rule. May return None.

enabled

bool java_annotation_processing.enabled

Returns true if the Java rule uses annotation processing.

processor_classnames

list java_annotation_processing.processor_classnames

Returns class names of annotation processors applied to this rule.

processor_classpath

depset java_annotation_processing.processor_classpath

Returns a classpath of annotation processors applied to this rule.

source_jar

File java_annotation_processing.source_jar

Returns a source archive resulting from annotation processing of this rule. May return None.

transitive_class_jars

depset java_annotation_processing.transitive_class_jars

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

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