https://kotlinlang.org logo
#announcements
Title
# announcements
h

Hexa

10/12/2018, 11:52 AM
does anyone know how to convert this class into Kotlin? I tried companion object instead of static class but it looks wrong
Copy code
class JWTTestUtils {

    static TokenPublicKey getPublicKeyAndSignedActiveToken() {
        // some logic here
        return new TokenPublicKey(token, publicKey)
    }
}