1. list of java methods

This commit is contained in:
vadym 2020-08-06 22:54:14 -07:00
parent 6f311b7213
commit caa798a08d

View File

@ -22,11 +22,7 @@ import io.github.chronosx88.yggdrasil.models.config.Utils.Companion.deserializeS
import io.github.chronosx88.yggdrasil.models.config.Utils.Companion.deserializeStringSet2PeerInfoSet
import io.github.chronosx88.yggdrasil.models.config.Utils.Companion.serializeDNSInfoSet2StringList
import io.github.chronosx88.yggdrasil.models.config.Utils.Companion.serializePeerInfoSet2StringList
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext
import java.net.InetAddress
import java.lang.reflect.Method
import kotlin.concurrent.thread
@ -143,7 +139,11 @@ class MainActivity : AppCompatActivity() {
ipLayout.visibility = View.VISIBLE
findViewById<TextView>(R.id.ip).text = address
}
val c: Class<*> = dummy.Dummy::class.java
val methods: Array<Method> = c.declaredMethods
for (i in methods.indices) {
Log.d(TAG,"The method is: " + methods[i].toString())
}
}
private fun stopVpn(){