Moved compiledJava cases to generated test.
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
package test;
|
||||
|
||||
public class ProtectedPackageConstructor {
|
||||
protected static class Foo { }
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
public open class ProtectedPackageConstructor : java.lang.Object {
|
||||
public constructor ProtectedPackageConstructor()
|
||||
|
||||
protected/*protected static*/ open class Foo : java.lang.Object {
|
||||
protected/*protected and package*/ constructor Foo()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test;
|
||||
|
||||
public class ProtectedPackageFun {
|
||||
protected void foo() {}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class ProtectedPackageFun : java.lang.Object {
|
||||
public constructor ProtectedPackageFun()
|
||||
protected/*protected and package*/ open fun foo() : Unit
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test;
|
||||
|
||||
public class ProtectedPackageProperty {
|
||||
protected int foo = 1;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class ProtectedPackageProperty : java.lang.Object {
|
||||
public constructor ProtectedPackageProperty()
|
||||
protected/*protected and package*/ final var foo : jet.Int
|
||||
}
|
||||
Reference in New Issue
Block a user