[#388] Added support to walk the method declaration graph to find specified annotations

resolves #388