NetBeans can be used as an IDE to write inlined Java JSP code for assemblies. Provides syntax error detection as well as static code analysis to help find bugs: https://apiant.helpdocs.com/assembly-inline-code/using-netbeans-ide-to-write-and-troubleshoot-inline-java-jsp-code