[KAPT] Improve stub formatting; check raw stubs in tests

Merge-request: KT-MR-14244
Merged-by: Pavel Mikhailovskii <Pavel.Mikhailovskii@jetbrains.com>
This commit is contained in:
strangepleasures
2024-02-09 15:41:37 +00:00
committed by Space Team
parent c5e6197690
commit 9688c3e761
103 changed files with 2128 additions and 845 deletions
@@ -1,24 +1,3 @@
package androidx.annotation;
public interface Box {
@RecentlyNullable()
public String foo();
}
////////////////////
package androidx.annotation;
import java.lang.annotation.*;
@Retention(value = RetentionPolicy.CLASS)
@Target(value = {ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD})
@interface RecentlyNullable {
}
////////////////////
package app;
/**
@@ -49,8 +28,7 @@ public final class KBox implements androidx.annotation.Box {
return null;
}
public KBox(@org.jetbrains.annotations.NotNull()
androidx.annotation.Box delegate) {
public KBox(@org.jetbrains.annotations.NotNull() androidx.annotation.Box delegate) {
super();
}