blob: bf9d634b932f60505d365dcb2871015a3442b1c0 [file] [log] [blame]
---
title: 'java\_compilation\_info'
---
Provides access to compilation information for Java rules.
## Members
* [boot\_classpath](#boot_classpath)
* [compilation\_classpath](#compilation_classpath)
* [javac\_options](#javac_options)
* [javac\_options\_list](#javac_options_list)
* [runtime\_classpath](#runtime_classpath)
## boot\_classpath
```
list java_compilation_info.boot_classpath
```
Boot classpath for this Java target.
## compilation\_classpath
```
depset java_compilation_info.compilation_classpath
```
Compilation classpath for this Java target.
## javac\_options
```
depset java_compilation_info.javac_options
```
A depset of options to java compiler. To get the exact list of options passed to javac in the correct order, use the tokenize\_javacopts utility in rules\_java
## javac\_options\_list
```
list java_compilation_info.javac_options_list
```
A list of options to java compiler. This exists temporarily for migration purposes. javac\_options will return a depset in the future, and this method will be dropped once all usages have been updated to handle depsets.
## runtime\_classpath
```
depset java_compilation_info.runtime_classpath
```
Run-time classpath for this Java target.