246dc985a6
Now predicates are split into LookupPredicate and DeclarationPredicate hierarchies. First one allows to perform global search for declarations and second one allows to check if some declaration matches the predicate. Predicates with meta annotations are excluded from LookupPredicates, because it's impossible to create index of annotations with meta-annotations, because they can be located inside binary dependencies (so to achieve this we need to scan the whole classpath). Also only one predicate with meta-annotations is left in DeclarationPredicate hierarchy (AnnotatedWithMeta) ^KT-53874 Fixed ^KT-53590 Fixed
104 lines
2.7 KiB
Plaintext
Vendored
104 lines
2.7 KiB
Plaintext
Vendored
Module: lib
|
|
@java.lang.annotation.Retention(value=RUNTIME)
|
|
@kotlin.Metadata
|
|
public annotation class AllOpen {
|
|
// source: 'module_lib_metaAnnotation_differentModules.kt'
|
|
}
|
|
|
|
@OtherComponent
|
|
@java.lang.annotation.Retention(value=RUNTIME)
|
|
@kotlin.Metadata
|
|
public annotation class AnotherComponent {
|
|
// source: 'module_lib_metaAnnotation_differentModules.kt'
|
|
}
|
|
|
|
@java.lang.annotation.Documented
|
|
@java.lang.annotation.Retention(value=RUNTIME)
|
|
@kotlin.Metadata
|
|
public annotation class Documented {
|
|
// source: 'module_lib_metaAnnotation_differentModules.kt'
|
|
}
|
|
|
|
@AllOpen
|
|
@java.lang.annotation.Retention(value=RUNTIME)
|
|
@kotlin.Metadata
|
|
public annotation class MyComponent {
|
|
// source: 'module_lib_metaAnnotation_differentModules.kt'
|
|
}
|
|
|
|
@MyComponent
|
|
@java.lang.annotation.Retention(value=RUNTIME)
|
|
@kotlin.Metadata
|
|
public annotation class OtherComponent {
|
|
// source: 'module_lib_metaAnnotation_differentModules.kt'
|
|
}
|
|
Module: main
|
|
@Documented
|
|
@kotlin.Metadata
|
|
public final class ClassWithDocumented {
|
|
// source: 'module_main_metaAnnotation_differentModules.kt'
|
|
public method <init>(): void
|
|
}
|
|
|
|
@MyComponent
|
|
@kotlin.Metadata
|
|
public abstract class MyComponentBase {
|
|
// source: 'module_main_metaAnnotation_differentModules.kt'
|
|
public method <init>(): void
|
|
}
|
|
|
|
@kotlin.Metadata
|
|
public final class MyComponentImpl2_ShouldBeFinal {
|
|
// source: 'module_main_metaAnnotation_differentModules.kt'
|
|
public method <init>(): void
|
|
public method method(): void
|
|
}
|
|
|
|
@kotlin.Metadata
|
|
public class MyComponentImpl3_ShouldBeOpen {
|
|
// source: 'module_main_metaAnnotation_differentModules.kt'
|
|
public method <init>(): void
|
|
public final method method_ShouldBeFinal(): void
|
|
}
|
|
|
|
@kotlin.Metadata
|
|
public class MyComponentImpl_ShouldBeOpen {
|
|
// source: 'module_main_metaAnnotation_differentModules.kt'
|
|
public method <init>(): void
|
|
public method method(): void
|
|
}
|
|
|
|
@AllOpen
|
|
@kotlin.Metadata
|
|
public class TestAllOpen_ShouldBeOpen {
|
|
// source: 'module_main_metaAnnotation_differentModules.kt'
|
|
public method <init>(): void
|
|
}
|
|
|
|
@AnotherComponent
|
|
@kotlin.Metadata
|
|
public class TestAnotherComponent_ShouldBeOpen {
|
|
// source: 'module_main_metaAnnotation_differentModules.kt'
|
|
public method <init>(): void
|
|
}
|
|
|
|
@MyComponent
|
|
@kotlin.Metadata
|
|
public class TestMyComponent_ShouldBeOpen {
|
|
// source: 'module_main_metaAnnotation_differentModules.kt'
|
|
public method <init>(): void
|
|
}
|
|
|
|
@OtherComponent
|
|
@kotlin.Metadata
|
|
public class TestOtherComponent_ShouldBeOpen {
|
|
// source: 'module_main_metaAnnotation_differentModules.kt'
|
|
public method <init>(): void
|
|
}
|
|
|
|
@kotlin.Metadata
|
|
public final class TestWithoutAnnotations_ShouldBeFinal {
|
|
// source: 'module_main_metaAnnotation_differentModules.kt'
|
|
public method <init>(): void
|
|
}
|