Connascence Detection

Compatible with: IntelliJ IDEA Android Studio
Jun 08, 2017
193
Detects connascences of meaning and position in Java code.

Download plugin

Recent change notes

0.1: Initial release. Supports connascence of position detection.
0.1.1: Added support for connascence of meaning.
0.1.2: Connascence highlighting is now made according to connascence locality, that is how close or far away the problem is in the application.
0.1.3: Added option to toggle connascence of position for private methods.
0.1.3.1: Fixes bugs affecting some quick fixes.
0.1.3.2: Quick fixes that require JDK_1_8 will no longer activate if this is not present.
0.1.3.3: Fixes bugs which could prevent negative literals from being highlighted as connascence of meaning.
0.1.3.4: Fixes bug which made quick fix to disregard conditional operator when overriding comparison with isPresent() call.
0.1.3.5: Switch cases are now highlighted with respect to connascence locality too.
0.1.3.6: Return statements and method arguments are now checked against connascence of meaning.
0.1.3.7: Adds quick fixes to return statements that have connascence of meaning.
0.1.3.8: Connascence of meaning highlighting now defaults to weak warnings for elements outside project.
0.1.3.9: Connascence of position highlighting now defaults to weak warnings for elements outside project.
0.1.3.10: Fixed bug which affected connascence of position inspection under some circumstances.
0.1.3.11: Added quick fix to replace null return with Optional.empty() if method has appropriate return type.
0.1.3.12: Internal upgrades for a faster inspection.
0.1.3.13: Improved internals of connascence of meaning inspection.
0.1.3.14: Redesigned internal analysis of connascence of position to enable future inspection options.
0.1.4: Improved connascence of position detection by also checking actual types of arguments passed to a method, rather than only what the types were meant to be.
0.1.4.1: Methods that take variable arguments can now be detected inside connascence of position analysis.
0.1.4.2: Added user options to choose which connascence granularity is preferred.
0.1.4.3: Improved connascence of meaning highlighting for method parameters to also take into the class context.
0.1.4.4: Improved connascence of meaning highlighting for method returns to also take into the class context.
0.1.4.5: Fixed bug that affected checking whether Optional is available through the JDK.