mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 00:21:28 +00:00
Kapt: provide a default constructor if PsiClass does not have any
(cherry picked from commit 550b1c0)
This commit is contained in:
committed by
Yan Zhulanow
parent
7a00b028af
commit
6ceaac63dc
@@ -13,4 +13,6 @@ public abstract class Simple {
|
||||
abstract void voidMethod()
|
||||
|
||||
protected java.lang.String strMethod(int param)
|
||||
|
||||
public void <init>()
|
||||
}
|
||||
@@ -3,6 +3,8 @@ class WithNested {
|
||||
|
||||
static class NestedClass {
|
||||
void nestedClassFun()
|
||||
|
||||
void <init>()
|
||||
}
|
||||
|
||||
class InnerClass {
|
||||
@@ -10,10 +12,16 @@ class WithNested {
|
||||
|
||||
class InnerInnerClass {
|
||||
void innerInnerClassFun()
|
||||
|
||||
void <init>(WithNested.InnerClass $instance)
|
||||
}
|
||||
|
||||
void <init>(WithNested $instance)
|
||||
}
|
||||
|
||||
static abstract interface NestedInterface {
|
||||
public abstract void nestedInterfaceFun()
|
||||
}
|
||||
|
||||
void <init>()
|
||||
}
|
||||
Reference in New Issue
Block a user