JAVA 1.6 methods are not detected when accessing them by extension
------------------------------------------------------------------
Key: MANIMALSNIFFER-20
URL: https://jira.codehaus.org/browse/MANIMALSNIFFER-20
Project: Mojo Animal Sniffer
Issue Type: Bug
Affects Versions: 1.7
Reporter: Sébastien Hénaff
Assignee: Stephen Connolly
The method "setIconImage" is not detected as a Java 1.5 violation :
public class MyDialog extends JDialog
{
public MyDialog()
{
setIconImage(new ImageIcon("icon.png").getImage());
}
}
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<version>1.7</version>
<configuration>
<signature>
<groupId>org.codehaus.mojo.signature</groupId>
<artifactId>java15</artifactId>
<version>1.0</version>
</signature>
</configuration>
<executions>
<execution>
<id>animal-sniffer</id>
<phase>compile</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email