java

Provides access to information about Java rules. Every Java-related target provides this struct, accessible as a java field on a target.

annotation_processing

java_annotation_processing JavaSkylarkApiProvider.annotation_processing

Returns information about annotation processing for this Java target. May return None.

compilation_info

java_compilation_info JavaSkylarkApiProvider.compilation_info

Returns compilation information for this Java target. May return None.

outputs

java_output_jars JavaSkylarkApiProvider.outputs

Returns information about outputs of this Java target.

source_jars

depset JavaSkylarkApiProvider.source_jars

Returns the Jars containing Java source files for the target.

transitive_deps

depset JavaSkylarkApiProvider.transitive_deps

Returns the transitive set of Jars required to build the target.

transitive_exports

depset JavaSkylarkApiProvider.transitive_exports

Returns transitive set of labels that are being exported from this rule.

transitive_runtime_deps

depset JavaSkylarkApiProvider.transitive_runtime_deps

Returns the transitive set of Jars required on the target's runtime classpath.

transitive_source_jars

depset JavaSkylarkApiProvider.transitive_source_jars

Returns the Jars containing Java source files for the target and all of its transitive dependencies.