Files
kotlin-fork/plugins/kapt3/testData/converter/topLevel.txt
T
Yan Zhulanow 1f1491f1ca Kapt3: Fix a number of errors in ClassFileToSourceStubConverter:
1. Support strictfp modifier for methods.
2. Support Kotlin top-level methods and properties.
3. Fix visibility modifiers on enum methods.
2016-12-05 19:57:41 +03:00

51 lines
1.3 KiB
Plaintext
Vendored

package test.another;
public abstract @interface Anno {
public abstract java.lang.String value();
}
////////////////////
package test.another;
public final class another {
public another() {
super();
}
private static final int topLevelProperty = 2;
public static final java.lang.String topLevelFunction() {
return null;
}
public static final <X extends java.lang.CharSequence, T extends java.util.List<? extends X>>T topLevelGenericFunction() {
return null;
}
public static final int getTopLevelProperty() {
return 0;
}
public static final java.lang.String getTopLevelProperty2() {
return null;
}
public static final void extensionFunction(@test.another.Anno(value = "rec")
java.lang.String $receiver, @test.another.Anno(value = "1")
java.lang.String a, @test.another.Anno(value = "2")
java.lang.String b) {
}
public static final <T extends java.lang.Object>java.lang.String getExtensionProperty(@test.another.Anno(value = "propRec")
T $receiver) {
return null;
}
public static final <T extends java.lang.Object>void setExtensionProperty(@test.another.Anno(value = "propRec")
T $receiver, @test.another.Anno(value = "setparam")
java.lang.String setParamName) {
}
}