fork download
  1. import java.util.*
  2.  
  3. fun main(args: Array<String>) {
  4.  
  5. }
  6.  
  7. class Type1(
  8. val property1: String) : User()
  9. {
  10. val property2: String = ""
  11. }
  12.  
  13. class Type2(
  14. val property1: String) : User()
  15. {
  16. val property2: String = ""
  17. }
  18.  
  19. open class User {
  20.  
  21. val Id: Long = 0
  22.  
  23. val username:String = ""
  24.  
  25. val password:String = ""
  26. }
  27.  
  28. interface JpaRepository<Object,Long> {}
  29.  
  30. interface UserRepository<User, Long>: JpaRepository<User, Long> {
  31. fun getUserByUsername(username: String)
  32. }
  33.  
  34. interface Type1Repository: UserRepository<Type1, Long> {}
Success #stdin #stdout 0.08s 23780KB
stdin
Standard input is empty
stdout
Standard output is empty