Add tests for deprecated properties
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
@Deprecated("")
|
||||
val testVal = 1
|
||||
|
||||
@Deprecated("")
|
||||
var testVar = 1
|
||||
|
||||
@Deprecated("")
|
||||
val testValWithExplicitDefaultGet = 1
|
||||
get
|
||||
|
||||
@Deprecated("")
|
||||
val testValWithExplicitGet
|
||||
get() = 1
|
||||
|
||||
@Deprecated("")
|
||||
var testVarWithExplicitDefaultGet = 1
|
||||
get
|
||||
|
||||
@Deprecated("")
|
||||
var testVarWithExplicitDefaultSet = 1
|
||||
set
|
||||
|
||||
@Deprecated("")
|
||||
var testVarWithExplicitDefaultGetSet: Int = 1
|
||||
get
|
||||
set
|
||||
|
||||
@Deprecated("")
|
||||
var testVarWithExplicitGetSet
|
||||
get() = 1
|
||||
set(v) {}
|
||||
|
||||
@Deprecated("")
|
||||
lateinit var testLateinitVar: Any
|
||||
|
||||
@Deprecated("")
|
||||
val Any.testExtVal
|
||||
get() = 1
|
||||
|
||||
@Deprecated("")
|
||||
var Any.textExtVar
|
||||
get() = 1
|
||||
set(v) {}
|
||||
|
||||
@Deprecated("")
|
||||
val <T> List<T>.testGenExtVal
|
||||
get() = 1
|
||||
|
||||
@Deprecated("")
|
||||
var <T> List<T>.textGenExtVar
|
||||
get() = 1
|
||||
set(v) {}
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
@kotlin.Metadata
|
||||
public final class DeprecatedPropertyKt {
|
||||
public deprecated static field testLateinitVar: java.lang.Object
|
||||
private deprecated final static field testVal: int
|
||||
private deprecated final static field testValWithExplicitDefaultGet: int
|
||||
private deprecated static field testVar: int
|
||||
private deprecated static field testVarWithExplicitDefaultGet: int
|
||||
private deprecated static field testVarWithExplicitDefaultGetSet: int
|
||||
private deprecated static field testVarWithExplicitDefaultSet: int
|
||||
static method <clinit>(): void
|
||||
public synthetic deprecated static @kotlin.Deprecated method getTestExtVal$annotations(p0: java.lang.Object): void
|
||||
public deprecated final static method getTestExtVal(@org.jetbrains.annotations.NotNull p0: java.lang.Object): int
|
||||
public synthetic deprecated static @kotlin.Deprecated method getTestGenExtVal$annotations(p0: java.util.List): void
|
||||
public deprecated final static method getTestGenExtVal(@org.jetbrains.annotations.NotNull p0: java.util.List): int
|
||||
public synthetic deprecated static @kotlin.Deprecated method getTestLateinitVar$annotations(): void
|
||||
public deprecated final static @org.jetbrains.annotations.NotNull method getTestLateinitVar(): java.lang.Object
|
||||
public synthetic deprecated static @kotlin.Deprecated method getTestVal$annotations(): void
|
||||
public deprecated final static method getTestVal(): int
|
||||
public synthetic deprecated static @kotlin.Deprecated method getTestValWithExplicitDefaultGet$annotations(): void
|
||||
public deprecated final static method getTestValWithExplicitDefaultGet(): int
|
||||
public synthetic deprecated static @kotlin.Deprecated method getTestValWithExplicitGet$annotations(): void
|
||||
public deprecated final static method getTestValWithExplicitGet(): int
|
||||
public synthetic deprecated static @kotlin.Deprecated method getTestVar$annotations(): void
|
||||
public deprecated final static method getTestVar(): int
|
||||
public synthetic deprecated static @kotlin.Deprecated method getTestVarWithExplicitDefaultGet$annotations(): void
|
||||
public deprecated final static method getTestVarWithExplicitDefaultGet(): int
|
||||
public synthetic deprecated static @kotlin.Deprecated method getTestVarWithExplicitDefaultGetSet$annotations(): void
|
||||
public deprecated final static method getTestVarWithExplicitDefaultGetSet(): int
|
||||
public synthetic deprecated static @kotlin.Deprecated method getTestVarWithExplicitDefaultSet$annotations(): void
|
||||
public deprecated final static method getTestVarWithExplicitDefaultSet(): int
|
||||
public synthetic deprecated static @kotlin.Deprecated method getTestVarWithExplicitGetSet$annotations(): void
|
||||
public deprecated final static method getTestVarWithExplicitGetSet(): int
|
||||
public synthetic deprecated static @kotlin.Deprecated method getTextExtVar$annotations(p0: java.lang.Object): void
|
||||
public deprecated final static method getTextExtVar(@org.jetbrains.annotations.NotNull p0: java.lang.Object): int
|
||||
public synthetic deprecated static @kotlin.Deprecated method getTextGenExtVar$annotations(p0: java.util.List): void
|
||||
public deprecated final static method getTextGenExtVar(@org.jetbrains.annotations.NotNull p0: java.util.List): int
|
||||
public deprecated final static method setTestLateinitVar(@org.jetbrains.annotations.NotNull p0: java.lang.Object): void
|
||||
public deprecated final static method setTestVar(p0: int): void
|
||||
public deprecated final static method setTestVarWithExplicitDefaultGet(p0: int): void
|
||||
public deprecated final static method setTestVarWithExplicitDefaultGetSet(p0: int): void
|
||||
public deprecated final static method setTestVarWithExplicitDefaultSet(p0: int): void
|
||||
public deprecated final static method setTestVarWithExplicitGetSet(p0: int): void
|
||||
public deprecated final static method setTextExtVar(@org.jetbrains.annotations.NotNull p0: java.lang.Object, p1: int): void
|
||||
public deprecated final static method setTextGenExtVar(@org.jetbrains.annotations.NotNull p0: java.util.List, p1: int): void
|
||||
}
|
||||
Reference in New Issue
Block a user