mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
KtLightMethod(Field): use dummyDelegate to determine modifier properties
This commit is contained in:
17
compiler/testData/asJava/lightClasses/compilationErrors/AnnotationModifiers.java
vendored
Normal file
17
compiler/testData/asJava/lightClasses/compilationErrors/AnnotationModifiers.java
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
public final class A {
|
||||
@kotlin.jvm.Transient
|
||||
@kotlin.jvm.Volatile
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private transient volatile java.lang.String c;
|
||||
|
||||
@kotlin.jvm.Synchronized
|
||||
@kotlin.jvm.Strictfp
|
||||
public final synchronized strictfp void f() { /* compiled code */ }
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.lang.String getC() { /* compiled code */ }
|
||||
|
||||
public final void setC(@org.jetbrains.annotations.NotNull java.lang.String p) { /* compiled code */ }
|
||||
|
||||
public A() { /* compiled code */ }
|
||||
}
|
||||
13
compiler/testData/asJava/lightClasses/compilationErrors/AnnotationModifiers.kt
vendored
Normal file
13
compiler/testData/asJava/lightClasses/compilationErrors/AnnotationModifiers.kt
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
// A
|
||||
|
||||
class A {
|
||||
@Synchronized
|
||||
@Strictfp
|
||||
fun f() {
|
||||
|
||||
}
|
||||
|
||||
@Transient
|
||||
@Volatile
|
||||
var c: String = ""
|
||||
}
|
||||
Reference in New Issue
Block a user