Skip to content

Instantly share code, notes, and snippets.

@CommanderTvis
Created July 28, 2020 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CommanderTvis/c09c5f6388128111e27147e589e6f545 to your computer and use it in GitHub Desktop.
Save CommanderTvis/c09c5f6388128111e27147e589e6f545 to your computer and use it in GitHub Desktop.
private fun <T> AsmBuilder<T>.findSpecific(context: Algebra<T>, name: String, parameterTypes: Array<MstType>): Method? =
context.javaClass.methods.find { method ->
...
nameValid && arityValid && notBridgeInPrimitive && paramsValid
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment