method is candidate to be static #339

Closed
romani opened this Issue Mar 24, 2015 · 1 comment

Projects

None yet

2 participants

@romani
Member
romani commented Mar 24, 2015

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.

@romani romani added the moderate label Mar 24, 2015
@Vladlis Vladlis was assigned by romani Aug 31, 2015
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Sep 27, 2015
@Vladlis Vladlis Issue #339: Introduce StaticMethodCandidateCheck 154b272
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Sep 28, 2015
@Vladlis @Vladlis Vladlis + Vladlis Issue #339: Introduce StaticMethodCandidateCheck 536a504
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Oct 3, 2015
@Vladlis Vladlis Issue #339: Introduce StaticMethodCandidateCheck 69ab80f
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Oct 3, 2015
@Vladlis Vladlis Issue #339: Introduce StaticMethodCandidateCheck 918024d
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Oct 6, 2015
@Vladlis Vladlis Issue #339: Introduce StaticMethodCandidateCheck f9ec994
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Oct 6, 2015
@Vladlis Vladlis Issue #339: Introduce StaticMethodCandidateCheck d8c3267
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Oct 8, 2015
@Vladlis Vladlis Issue #339: Introduce StaticMethodCandidateCheck 1bf44df
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Oct 10, 2015
@Vladlis Vladlis Issue #339: Introduce StaticMethodCandidateCheck 7e7ea66
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Oct 11, 2015
@Vladlis Vladlis Issue #339: Introduce StaticMethodCandidateCheck 2b8e8c3
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Oct 11, 2015
@Vladlis Vladlis Issue #339: Introduce StaticMethodCandidateCheck a29c8c8
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Oct 20, 2015
@Vladlis Vladlis Issue #339: Introduce StaticMethodCandidateCheck 18a2d88
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Oct 20, 2015
@Vladlis Vladlis Issue #339: Introduce StaticMethodCandidateCheck 9529fdb
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Oct 21, 2015
@Vladlis Vladlis Issue #339: Introduce StaticMethodCandidateCheck d9beb68
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Oct 26, 2015
@Vladlis Vladlis Issue #339: Introduce StaticMethodCandidateCheck 4cf214b
@romani romani referenced this issue in checkstyle/checkstyle Nov 1, 2015
Closed

minor: methods made static #2498

@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Nov 2, 2015
@Vladlis Vladlis Issue #339: Introduce StaticMethodCandidateCheck f40aeb4
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Nov 2, 2015
@Vladlis Vladlis Issue #339: Introduce StaticMethodCandidateCheck 66a0091
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Nov 2, 2015
@Vladlis Vladlis Issue #339: Introduce StaticMethodCandidateCheck 0a89b6a
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Nov 4, 2015
@Vladlis Vladlis Issue #339: Introduce StaticMethodCandidateCheck 6e2aac0
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Nov 4, 2015
@Vladlis Vladlis Issue #339: Suppress CyclomaticComplexityCheck for StaticMethodCandidate dcab9d6
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Nov 4, 2015
@Vladlis Vladlis Issue #339: Suppress FinalLocalVariableCheck for StaticMethodCandidate 731f9ff
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Nov 4, 2015
@Vladlis Vladlis Issue #339: Suppress HeaderCheck for StaticMethodCandidate 81e9a61
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Nov 4, 2015
@Vladlis Vladlis Issue #339: Introduce StaticMethodCandidateCheck e9fe0b1
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Nov 4, 2015
@Vladlis Vladlis Issue #339: Suppress CyclomaticComplexityCheck for StaticMethodCandidate 731f18b
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Nov 4, 2015
@Vladlis Vladlis Issue #339: Suppress FinalLocalVariableCheck for StaticMethodCandidate 2511562
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Nov 4, 2015
@Vladlis Vladlis Issue #339: Suppress HeaderCheck for StaticMethodCandidate beaf42d
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Nov 4, 2015
@Vladlis Vladlis Issue #339: Introduce StaticMethodCandidateCheck 370661a
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Nov 4, 2015
@Vladlis Vladlis Issue #339: Suppress CyclomaticComplexityCheck for StaticMethodCandidate d1ed25b
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Nov 4, 2015
@Vladlis Vladlis Issue #339: Suppress FinalLocalVariableCheck for StaticMethodCandidate cf877fb
@Vladlis Vladlis added a commit to Vladlis/sevntu.checkstyle that referenced this issue Nov 4, 2015
@Vladlis Vladlis Issue #339: Suppress HeaderCheck for StaticMethodCandidate 693f2bf
@romani romani added this to the 1.17 milestone Nov 4, 2015
@romani
Member
romani commented Nov 4, 2015

merged.

@romani romani closed this Nov 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment