Files
kotlin-fork/plugins/kapt3/kapt3-base/testData/runner/incremental/constants/A.java
T
Ivan Gavrilovic 0c09f56118 Incremental KAPT - track constants usage
This commit adds support for tracking of used constants in
source files. For every constant used in a source file, class
that defines the constant and the constant name are tracked.

Value of the constant can be obtained using
annotation processing APIs, so if the constant value changes, a source file
using it has to be reprocessed.

 #KT-23880
2019-04-12 15:01:47 +03:00

5 lines
104 B
Java
Vendored

package test;
public class A {
final int myField = B.INT_VALUE + (1 < 5 ? CKlass.INT_VALUE : 13);
}