mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
javac-wrapper: refactoring, fixes and tests
This commit is contained in:
committed by
Alexander Baratynskiy
parent
8494e54608
commit
01883a41cb
@@ -1,3 +1,4 @@
|
||||
// JAVAC_EXPECTED_FILE
|
||||
package test;
|
||||
|
||||
// SKIP_IN_RUNTIME_TEST
|
||||
|
||||
13
compiler/testData/loadJava8/compiledJava/InnerClassTypeAnnotation.javac.txt
vendored
Normal file
13
compiler/testData/loadJava8/compiledJava/InnerClassTypeAnnotation.javac.txt
vendored
Normal 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!)
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
// JAVAC_EXPECTED_FILE
|
||||
package test;
|
||||
|
||||
import java.lang.annotation.*;
|
||||
|
||||
14
compiler/testData/loadJava8/compiledJava/TypeParameterAnnotations.javac.txt
vendored
Normal file
14
compiler/testData/loadJava8/compiledJava/TypeParameterAnnotations.javac.txt
vendored
Normal 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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user