Creates method declaration related structures.
if true, will generate a type decl, type ref, and method ref, as well as add the c modifier.
c
the node to create the AST structure from.
a method declaration with additional refs and types if specified.