mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 15:54:03 +00:00
Add support for incremental annotation processors in KAPT. These processors conform to https://docs.gradle.org/current/userguide/java_plugin.html#sec:incremental_annotation_processing specification. Support is provided by using javac compiler APIs and recording the source file structure. At runtime, processors are instrumented with custom Filer that is used to keep track of generated files. In order to support classpath changes, stub generation task is used to generated a list of changed FQCNs, and this is simply used by KAPT. Both worker and non-worker mode are supported. #KT-23880
16 lines
332 B
Java
Vendored
16 lines
332 B
Java
Vendored
package test;
|
|
|
|
@NumberAnnotation
|
|
public class NumberHolder<T extends MyNumber> extends java.util.HashSet<T> implements Runnable {
|
|
|
|
private NumberManager manager;
|
|
|
|
String getStringValue(NumberManager usingManager) {
|
|
return null;
|
|
}
|
|
|
|
public void run() throws NumberException {
|
|
}
|
|
|
|
class MyInnerClass {}
|
|
} |