Kapt: Preserve parameter names for abstract methods
This commit is contained in:
committed by
Yan Zhulanow
parent
18e17a4400
commit
5ec16167bc
@@ -0,0 +1,38 @@
|
||||
public abstract class Cls {
|
||||
|
||||
public abstract void foo(@org.jetbrains.annotations.NotNull()
|
||||
java.lang.String abc);
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String bar(int bcd) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public Cls() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
|
||||
public abstract interface Intf {
|
||||
|
||||
public abstract void foo(@org.jetbrains.annotations.NotNull()
|
||||
java.lang.String abc);
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public abstract java.lang.String bar(int bcd);
|
||||
|
||||
public static final class DefaultImpls {
|
||||
|
||||
public DefaultImpls() {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static java.lang.String bar(Intf $this, int bcd) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user