This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Steps to reproduce: - Reverse engineer the 'public void testStaticImport( double theta )' method from 'TestStaticImport' class and create a Sequence diagrams: --------------------------------------------------------------------- import static java.lang.Math.PI; import static java.lang.Math.cos; public class TestStaticImport { public void testStaticImport( double theta ){ double r = cos(PI * theta); } } --------------------------------------------------------------------- There is the 'public void cos(PI unnamed)' message which has 'self' Receiving Lifeline instead of ':Math' message
Created attachment 36747 [details] Incorrect message
updated the Antlr def file to fire appropriate events for static imports. Then regenerated the necessary files. Added checks for static method calls. (REOperation, MethodDeclaration, InstanceInformation, MethodCallExpression)
verified