Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
idea is from repetitive problems (example: https://groups.google.com/forum/#!topic/sevntu-checkstyle/W8DZJWmisug )
we need to find an algorithm to detect private method that could be static. We can not detect that method could be static as it use static method of other class. But we could find a methods that do not use any other non static methods of class, and all work in method is done base on arguments.
We can detect static method reference if it is referenced by class name rather then by instance ref.