mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-14 00:21:27 +00:00
Rename LoadJava annotations test data
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package test;
|
||||
|
||||
public interface AnnotationWithAnnotationInParam {
|
||||
public interface AnnotationInParam {
|
||||
|
||||
public @interface MyAnnotationWithParam {
|
||||
MyAnnotation value();
|
||||
@@ -35,4 +35,4 @@ public interface AnnotationWithAnnotationInParam {
|
||||
|
||||
@MyAnnotationWithParam3(@MyAnnotation3(first = "f", second = "s"))
|
||||
public class C {}
|
||||
}
|
||||
}
|
||||
@@ -1,16 +1,16 @@
|
||||
package test
|
||||
|
||||
public trait AnnotationWithAnnotationInParam : java.lang.Object {
|
||||
public trait AnnotationInParam : java.lang.Object {
|
||||
|
||||
test.AnnotationWithAnnotationInParam.MyAnnotationWithParam(value = MyAnnotation[value = "test"]: test.AnnotationWithAnnotationInParam.MyAnnotation) public open class A : java.lang.Object {
|
||||
test.AnnotationInParam.MyAnnotationWithParam(value = MyAnnotation[value = "test"]: test.AnnotationInParam.MyAnnotation) public open class A : java.lang.Object {
|
||||
public constructor A()
|
||||
}
|
||||
|
||||
test.AnnotationWithAnnotationInParam.MyAnnotationWithParam2(value = MyAnnotation2[value = ["test", "test2"]]: test.AnnotationWithAnnotationInParam.MyAnnotation2) public open class B : java.lang.Object {
|
||||
test.AnnotationInParam.MyAnnotationWithParam2(value = MyAnnotation2[value = ["test", "test2"]]: test.AnnotationInParam.MyAnnotation2) public open class B : java.lang.Object {
|
||||
public constructor B()
|
||||
}
|
||||
|
||||
test.AnnotationWithAnnotationInParam.MyAnnotationWithParam3(value = MyAnnotation3[first = "f", second = "s"]: test.AnnotationWithAnnotationInParam.MyAnnotation3) public open class C : java.lang.Object {
|
||||
test.AnnotationInParam.MyAnnotationWithParam3(value = MyAnnotation3[first = "f", second = "s"]: test.AnnotationInParam.MyAnnotation3) public open class C : java.lang.Object {
|
||||
public constructor C()
|
||||
}
|
||||
|
||||
@@ -31,17 +31,17 @@ public trait AnnotationWithAnnotationInParam : java.lang.Object {
|
||||
}
|
||||
|
||||
public final annotation class MyAnnotationWithParam : jet.Annotation {
|
||||
public constructor MyAnnotationWithParam(/*0*/ value: test.AnnotationWithAnnotationInParam.MyAnnotation?)
|
||||
public abstract fun value(): test.AnnotationWithAnnotationInParam.MyAnnotation?
|
||||
public constructor MyAnnotationWithParam(/*0*/ value: test.AnnotationInParam.MyAnnotation?)
|
||||
public abstract fun value(): test.AnnotationInParam.MyAnnotation?
|
||||
}
|
||||
|
||||
public final annotation class MyAnnotationWithParam2 : jet.Annotation {
|
||||
public constructor MyAnnotationWithParam2(/*0*/ value: test.AnnotationWithAnnotationInParam.MyAnnotation2?)
|
||||
public abstract fun value(): test.AnnotationWithAnnotationInParam.MyAnnotation2?
|
||||
public constructor MyAnnotationWithParam2(/*0*/ value: test.AnnotationInParam.MyAnnotation2?)
|
||||
public abstract fun value(): test.AnnotationInParam.MyAnnotation2?
|
||||
}
|
||||
|
||||
public final annotation class MyAnnotationWithParam3 : jet.Annotation {
|
||||
public constructor MyAnnotationWithParam3(/*0*/ value: test.AnnotationWithAnnotationInParam.MyAnnotation3?)
|
||||
public abstract fun value(): test.AnnotationWithAnnotationInParam.MyAnnotation3?
|
||||
public constructor MyAnnotationWithParam3(/*0*/ value: test.AnnotationInParam.MyAnnotation3?)
|
||||
public abstract fun value(): test.AnnotationInParam.MyAnnotation3?
|
||||
}
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
package test
|
||||
|
||||
public open class AnnotationWithArithmeticExpressionInParam : java.lang.Object {
|
||||
public constructor AnnotationWithArithmeticExpressionInParam()
|
||||
|
||||
public final annotation class Anno : jet.Annotation {
|
||||
public constructor Anno(/*0*/ value: jet.Int)
|
||||
public abstract fun value(): jet.Int
|
||||
}
|
||||
|
||||
test.AnnotationWithArithmeticExpressionInParam.Anno(value = 42.toInt(): jet.Int) public open class Class : java.lang.Object {
|
||||
public constructor Class()
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
package test;
|
||||
|
||||
public class AnnotationWithArithmeticExpressionInParam {
|
||||
public class ArithmeticExpressionInParam {
|
||||
public @interface Anno {
|
||||
int value();
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package test
|
||||
|
||||
public open class ArithmeticExpressionInParam : java.lang.Object {
|
||||
public constructor ArithmeticExpressionInParam()
|
||||
|
||||
public final annotation class Anno : jet.Annotation {
|
||||
public constructor Anno(/*0*/ value: jet.Int)
|
||||
public abstract fun value(): jet.Int
|
||||
}
|
||||
|
||||
test.ArithmeticExpressionInParam.Anno(value = 42.toInt(): jet.Int) public open class Class : java.lang.Object {
|
||||
public constructor Class()
|
||||
}
|
||||
}
|
||||
@@ -3,7 +3,7 @@ package test;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
public interface AnnotationWithArrayOfEnumInParam {
|
||||
public interface ArrayOfEnumInParam {
|
||||
|
||||
@Target({ElementType.FIELD, ElementType.CONSTRUCTOR})
|
||||
public @interface targetAnnotation {
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public trait AnnotationWithArrayOfEnumInParam : java.lang.Object {
|
||||
public trait ArrayOfEnumInParam : java.lang.Object {
|
||||
|
||||
java.lang.annotation.Target(value = [ElementType.FIELD, ElementType.CONSTRUCTOR]: jet.Array<java.lang.annotation.ElementType>?) public final annotation class targetAnnotation : jet.Annotation {
|
||||
public constructor targetAnnotation(/*0*/ value: jet.String?)
|
||||
@@ -3,7 +3,7 @@ package test;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
public interface AnnotationWithArrayOfStringInParam {
|
||||
public interface ArrayOfStringInParam {
|
||||
|
||||
public @interface MyAnnotation {
|
||||
String[] value();
|
||||
@@ -1,8 +1,8 @@
|
||||
package test
|
||||
|
||||
public trait AnnotationWithEmptyArrayInParam : java.lang.Object {
|
||||
public trait ArrayOfStringInParam : java.lang.Object {
|
||||
|
||||
test.AnnotationWithEmptyArrayInParam.MyAnnotation(value = []: jet.Array<jet.String>?) public open class A : java.lang.Object {
|
||||
test.ArrayOfStringInParam.MyAnnotation(value = ["a", "b", "c"]: jet.Array<jet.String>?) public open class A : java.lang.Object {
|
||||
public constructor A()
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ package test;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
public interface AnnotationWithEmptyArrayInParam {
|
||||
public interface EmptyArrayInParam {
|
||||
|
||||
public @interface MyAnnotation {
|
||||
String[] value();
|
||||
@@ -1,8 +1,8 @@
|
||||
package test
|
||||
|
||||
public trait AnnotationWithArrayOfStringInParam : java.lang.Object {
|
||||
public trait EmptyArrayInParam : java.lang.Object {
|
||||
|
||||
test.AnnotationWithArrayOfStringInParam.MyAnnotation(value = ["a", "b", "c"]: jet.Array<jet.String>?) public open class A : java.lang.Object {
|
||||
test.EmptyArrayInParam.MyAnnotation(value = []: jet.Array<jet.String>?) public open class A : java.lang.Object {
|
||||
public constructor A()
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ package test;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
public interface AnnotationWithEnumInParam {
|
||||
public interface EnumInParam {
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface RetentionAnnotation {
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public trait AnnotationWithEnumInParam : java.lang.Object {
|
||||
public trait EnumInParam : java.lang.Object {
|
||||
|
||||
java.lang.annotation.Retention(value = RetentionPolicy.RUNTIME: java.lang.annotation.RetentionPolicy) public final annotation class RetentionAnnotation : jet.Annotation {
|
||||
public constructor RetentionAnnotation(/*0*/ value: jet.String?)
|
||||
@@ -4,7 +4,7 @@ import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
// TODO: remove comments when fix in idea will be accepted
|
||||
public interface AnnotationWithPrimitiveValueInParam {
|
||||
public interface PrimitiveValueInParam {
|
||||
|
||||
public @interface Ann {
|
||||
int i();
|
||||
@@ -1,8 +1,8 @@
|
||||
package test
|
||||
|
||||
public trait AnnotationWithPrimitiveValueInParam : java.lang.Object {
|
||||
public trait PrimitiveValueInParam : java.lang.Object {
|
||||
|
||||
test.AnnotationWithPrimitiveValueInParam.Ann(bool = true: jet.Boolean, d = 1.0.toDouble(): jet.Double, f = 1.0.toFloat(): jet.Float, i = 1.toInt(): jet.Int, l = 1.toLong(): jet.Long, str = "str": jet.String) public open class A : java.lang.Object {
|
||||
test.PrimitiveValueInParam.Ann(bool = true: jet.Boolean, d = 1.0.toDouble(): jet.Double, f = 1.0.toFloat(): jet.Float, i = 1.toInt(): jet.Int, l = 1.toLong(): jet.Long, str = "str": jet.String) public open class A : java.lang.Object {
|
||||
public constructor A()
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test;
|
||||
|
||||
public interface AnnotationWithStringConcatenationInParam {
|
||||
public interface StringConcatenationInParam {
|
||||
public @interface Anno {
|
||||
String value();
|
||||
}
|
||||
@@ -1,13 +1,13 @@
|
||||
package test
|
||||
|
||||
public trait AnnotationWithStringInParam : java.lang.Object {
|
||||
public trait StringConcatenationInParam : java.lang.Object {
|
||||
|
||||
public final annotation class Anno : jet.Annotation {
|
||||
public constructor Anno(/*0*/ value: jet.String?)
|
||||
public abstract fun value(): jet.String?
|
||||
}
|
||||
|
||||
test.AnnotationWithStringInParam.Anno(value = "hello": jet.String) public open class Class : java.lang.Object {
|
||||
test.StringConcatenationInParam.Anno(value = "hello": jet.String) public open class Class : java.lang.Object {
|
||||
public constructor Class()
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
package test;
|
||||
|
||||
public interface AnnotationWithStringConstantInParam {
|
||||
public interface StringConstantInParam {
|
||||
public static final String HEL = "hel";
|
||||
|
||||
public @interface Anno {
|
||||
@@ -1,17 +1,17 @@
|
||||
package test
|
||||
|
||||
public trait AnnotationWithStringConstantInParam : java.lang.Object {
|
||||
public trait StringConstantInParam : java.lang.Object {
|
||||
|
||||
public final annotation class Anno : jet.Annotation {
|
||||
public constructor Anno(/*0*/ value: jet.String?)
|
||||
public abstract fun value(): jet.String?
|
||||
}
|
||||
|
||||
test.AnnotationWithStringConstantInParam.Anno(value = "hello": jet.String) public open class Class : java.lang.Object {
|
||||
test.StringConstantInParam.Anno(value = "hello": jet.String) public open class Class : java.lang.Object {
|
||||
public constructor Class()
|
||||
}
|
||||
}
|
||||
|
||||
package AnnotationWithStringConstantInParam {
|
||||
package StringConstantInParam {
|
||||
public val HEL: jet.String
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
package test;
|
||||
|
||||
public interface AnnotationWithStringInParam {
|
||||
public interface StringInParam {
|
||||
public @interface Anno {
|
||||
String value();
|
||||
}
|
||||
@@ -1,13 +1,13 @@
|
||||
package test
|
||||
|
||||
public trait AnnotationWithStringConcatenationInParam : java.lang.Object {
|
||||
public trait StringInParam : java.lang.Object {
|
||||
|
||||
public final annotation class Anno : jet.Annotation {
|
||||
public constructor Anno(/*0*/ value: jet.String?)
|
||||
public abstract fun value(): jet.String?
|
||||
}
|
||||
|
||||
test.AnnotationWithStringConcatenationInParam.Anno(value = "hello": jet.String) public open class Class : java.lang.Object {
|
||||
test.StringInParam.Anno(value = "hello": jet.String) public open class Class : java.lang.Object {
|
||||
public constructor Class()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user