Added LibrariesTest (checking only one decompiled source yet).
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// IntelliJ API Decompiler stub source generated from a class file
|
||||
// Implementation of methods is not available
|
||||
|
||||
package testData.libraries
|
||||
|
||||
abstract class AbstractClass {
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
package testData.libraries
|
||||
|
||||
trait SimpleTrait {
|
||||
}
|
||||
|
||||
class SimpleClass {
|
||||
}
|
||||
|
||||
class SimpleTraitImpl : SimpleTrait {
|
||||
}
|
||||
|
||||
class WithInnerAndObject {
|
||||
class object {
|
||||
fun foo() {
|
||||
}
|
||||
}
|
||||
|
||||
class MyInner {
|
||||
trait MyInnerInner {
|
||||
fun innerInnerMethod()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class WithTraitClassObject {
|
||||
class object : SimpleTrait
|
||||
}
|
||||
|
||||
abstract class AbstractClass {
|
||||
}
|
||||
|
||||
enum class Color(val rgb : Int) {
|
||||
RED : Color(0xFF0000)
|
||||
GREEN : Color(0x00FF00)
|
||||
BLUE : Color(0x0000FF)
|
||||
}
|
||||
|
||||
abstract class ClassWithAbstractAndOpenMembers {
|
||||
abstract fun abstractFun()
|
||||
open fun openFun() {
|
||||
}
|
||||
|
||||
abstract val abstractVal : String
|
||||
open val openVal : String = ""
|
||||
open val openValWithGetter : String
|
||||
get() {
|
||||
return "239"
|
||||
}
|
||||
|
||||
abstract var abstractVar : String
|
||||
open var openVar : String = ""
|
||||
open var openVarWithGetter : String
|
||||
get() {
|
||||
return "239"
|
||||
}
|
||||
set(value) {
|
||||
}
|
||||
}
|
||||
|
||||
fun main(args : Array<String>) {
|
||||
}
|
||||
|
||||
val globalVal : #(Int, String) = #(239, "239")
|
||||
|
||||
val globalValWithGetter : Long
|
||||
get() {
|
||||
return System.currentTimeMillis()
|
||||
}
|
||||
Reference in New Issue
Block a user