model.MMethod.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of meta Show documentation
Show all versions of meta Show documentation
"Annotation Processing and Code Generation Utils"
The newest version!
package de.peekandpoke.ultra.meta.model
import javax.lang.model.element.ExecutableElement
import javax.lang.model.element.Modifier
class MMethod(
model: Model,
executableElement: ExecutableElement
) : MBase(model) {
val simpleName: String = executableElement.simpleName.toString()
val isPublic = executableElement.modifiers.contains(Modifier.PUBLIC)
}