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
This commit is contained in:
committed by
Alexey Tsvetkov
parent
57dca2ada5
commit
0c09f56118
@@ -0,0 +1,5 @@
|
||||
package test;
|
||||
|
||||
public class A {
|
||||
final int myField = B.INT_VALUE + (1 < 5 ? CKlass.INT_VALUE : 13);
|
||||
}
|
||||
Reference in New Issue
Block a user