Jacky Liu
- Total activity 94
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 0
Articles
Recent activity by Jacky Liu-
Invalid breakpoint after HotSwap: EclipseLink dynamic weaving rewrites entity bytecode
Symptoms Breakpoints set on JPA entity classes (or other classes managed by a runtime bytecode-rewriting framework) show as invalid (red X icon) after a HotSwap reload during a debug session. Code...
-
Using @Contract annotation: describe method behavior for IDE static analysis
Background org.jetbrains.annotations.Contract is a method-level annotation shipped in the org.jetbrains:annotations artifact. It tells IntelliJ-platform IDEs how a method's return value depends on ...
-
Console: Class name hyperlinks underlined, Color Scheme | Hyperlink has no effect
Background In the Run and Debug console, class names are highlighted as clickable hyperlinks with a dotted underline. Changing Settings | Editor | Color Scheme | General | Hyperlink does not alter ...
-
Find Usages with Module scope: missing references found by Find in Files
Background/Situation In a project that contains both Java code and non-Java resources (for example, a Java EE web project with src/main/java, src/main/resources, and src/main/webapp content roots),...
-
How to suppress 'Unused declaration' warnings for methods called by JVM agents
Background/Situation The Unused declaration inspection flags methods, classes, and fields that have no apparent caller in the project source code. Methods invoked through bytecode instrumentation b...
-
Replace Java String.format(string, args) with string.formatted(args) and vise versa
Background Working on some projects with different language levels, Java 8 and Java 15+, some string operations can't be copied and pasted to reuse. Question How to automatically replace the 'old' ...
-
Java inspection: False nullability warning for lambda in map2SetNotNull
Problem IntelliJ IDEA 2025.3 reports a false nullability warning when calling ContainerUtil.map2SetNotNull() with a lambda that returns null. The inspection incorrectly requires the lambda return t...
-
IntelliJ IDEA shows false error on ternary expression in Java code
Symptoms IntelliJ IDEA displays a false error or warning on valid Java ternary expressions. The code compiles and runs correctly, but the editor highlights it as an error. import java.util.Objects;...
-
Spring Boot Actuator properties not recognized in application.properties: Missing actuator dependency
Problem Spring Boot Actuator properties such as management.endpoints.enabled-by-default, management.endpoint.health.show-details, or management.endpoints.web.exposure.include are marked as unrecogn...
-
How to HotSwap Tomcat application configuration files in IDEA?
Question: Using Tomcat HotSwap with classes and resources (.jsp, .css, .js, etc.) works fine in this case, but when I update any configuration file in my application (.properties file), HotSwap doe...