getSignatureFromDeclaration