MethodSpec
class MethodSpec(val name: Identifier, val returnType: Type, val parameters: List<ParameterSpec>, val body: CodeSpec, val isStatic: Boolean = false, val isAbstract: Boolean = false, val isFinal: Boolean = false, val isOverride: Boolean = false, val accessModifier: AccessModifier = AccessModifier.PUBLIC, val isSynchronized: Boolean = false, val isNative: Boolean = false)(source)
Constructors
Link copied to clipboard
constructor(name: Identifier, returnType: Type, parameters: List<ParameterSpec>, body: CodeSpec, isStatic: Boolean = false, isAbstract: Boolean = false, isFinal: Boolean = false, isOverride: Boolean = false, accessModifier: AccessModifier = AccessModifier.PUBLIC, isSynchronized: Boolean = false, isNative: Boolean = false)