FasterXML/jackson-module-guice — pull request #6 by pfumagalli (2014-05-28 07:13:36+00:00)
Title: Fix method-based injection

Currently, injection via methods is failing. Constructs like

```java
public void injectMe(@Ann MyType instance) { ... }
```

produces a `Key`, which is obviously wrong. For method-based injection to work, the code should look at the parameter of the method, not to the method itself.

This patch fixes this behavior, and correctly prepares a `Key[annotations=@Ann]` for the above-mentioned snippet.