javac-wrapper: refactoring, fixes and tests

This commit is contained in:
baratynskiy
2017-06-27 17:24:10 +03:00
committed by Alexander Baratynskiy
parent 8494e54608
commit 01883a41cb
382 changed files with 42897 additions and 688 deletions

View File

@@ -1,3 +1,4 @@
// JAVAC_EXPECTED_FILE
package test;
// SKIP_IN_RUNTIME_TEST

View File

@@ -0,0 +1,13 @@
package test
public open class InnerClassTypeAnnotation {
public constructor InnerClassTypeAnnotation()
@kotlin.annotation.Retention(value = AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets = {AnnotationTarget.TYPE}) public final annotation class Foo : kotlin.Annotation {
public constructor Foo()
}
public open inner class Inner {
public constructor Inner(/*0*/ p0: kotlin.String!)
}
}

View File

@@ -1,3 +1,4 @@
// JAVAC_EXPECTED_FILE
package test;
import java.lang.annotation.*;

View File

@@ -0,0 +1,14 @@
package test
public open class TypeParameterAnnotations {
public constructor TypeParameterAnnotations()
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.TYPE_PARAMETER}) public final annotation class A : kotlin.Annotation {
public constructor A(/*0*/ value: kotlin.String = ...)
public final val value: kotlin.String
}
public interface G</*0*/ @test.TypeParameterAnnotations.A T : kotlin.Any!> {
public abstract fun </*0*/ @test.TypeParameterAnnotations.A(value = "abc") R : kotlin.Any!> foo(/*0*/ p0: R!): kotlin.Unit
}
}