createMethodDeclaration

abstract fun createMethodDeclaration(modifiers: ReadonlyArray<ModifierLike>?, asteriskToken: AsteriskToken?, name: String, questionToken: QuestionToken?, typeParameters: ReadonlyArray<TypeParameterDeclaration>?, parameters: ReadonlyArray<ParameterDeclaration>, type: TypeNode?, body: Block?): MethodDeclaration(source)
abstract fun createMethodDeclaration(modifiers: ReadonlyArray<ModifierLike>?, asteriskToken: AsteriskToken?, name: PropertyName, questionToken: QuestionToken?, typeParameters: ReadonlyArray<TypeParameterDeclaration>?, parameters: ReadonlyArray<ParameterDeclaration>, type: TypeNode?, body: Block?): MethodDeclaration(source)