[ https://jira.codehaus.org/browse/MSHADE-92?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=294021#comment-294021 ]
Greg Wittel commented on MSHADE-92: ----------------------------------- Here is the decompiler output from the 1.4 version of the plugin: {code:java|title="Item.class from 1.4 plugin"} /* */ package test; /* */ /* */ import org.codehaus.jackson.annotate.JsonProperty; /* */ import shade.org.codehaus.jackson.annotate.JsonCreator; /* */ /* */ public class Item /* */ { /* */ private String somestring; /* */ /* */ @JsonCreator /* */ Item(@JsonProperty("blah") String blah) /* */ { /* 15 */ this.somestring = blah; /* */ } /* */ /* */ public String getSomestring() { /* 19 */ return this.somestring; /* */ } /* */ /* */ public void setSomestring(String s) { /* 23 */ this.somestring = s; /* */ } /* */ } /* Location: /tmp/javatest/ * Qualified Name: test.Item * JD-Core Version: 0.6.0 */ {code} > Annotated Method Parameters Not Shaded > -------------------------------------- > > Key: MSHADE-92 > URL: https://jira.codehaus.org/browse/MSHADE-92 > Project: Maven 2.x Shade Plugin > Issue Type: Bug > Affects Versions: 1.4 > Environment: JDK 1.6.0r21 > Reporter: Greg Wittel > Labels: moreinfo > Attachments: test.tar.gz > > > When shading a function or constructor like > {code:java}@JsonCreator > public MyClass(@JsonProperty("blah") String blah) { > }{code} > The @JsonProperty annotation is not shaded. I decompiled the resulting > .class file and you see '@JsonCreator' is properly shaded, while > @JsonProperty is not. This is probably related to MSHADE-79. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira