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
+5
@@ -0,0 +1,5 @@
|
||||
package test;
|
||||
|
||||
public @interface AnnotationA {
|
||||
int value() default (B.INT_VALUE + B.INT_VALUE) ;
|
||||
}
|
||||
Reference in New Issue
Block a user