fact: Definition methodDecl (ek:TypeDefKind) (mk:MethodKind) (fullSpecs:list FULL_SPEC_CASE.t) (super:option MethodSignature) (mods:list Modifier) (rt:ReturnType) (name:ShortMethodName) (params:list Param) (throws:list ExceptionType) (block:option BLOCK.t) : Method := let signature := METHODSIGNATURE.Build_t name params (returnType2option rt) in let body := match block with (Some block') => Some (METHODBODY.Build_t block' nil) | _ => None end in METHOD.Build_t signature throws body super mk (hasModifier mods final) (hasModifier mods static) (hasModifier mods native) (javaVisibility ek mods) (specVisibility ek mods) (hasModifier mods pure) (hasModifier mods helper) (hasModifier mods nullable) (hasModifier mods implicit_constructor) nil fullSpecs.
imports: JML(Prelude) Coq(ZArith) Coq(Bool) Coq(List) JML(TaggedList) JML(ListHelpers) JML(ListFunctions) JML(OptionHelpers) JML(JMLProgramPlusImpl) JML(JMLFull2Basic) JML(JMLExpressionNotations)