Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

CompilerParameters

Niklas Gärdebrand edited this page Jun 4, 2018 · 2 revisions

Reactive Wizard makes use of a compiler option available since Java 8 called ”-parameters” which gives us more insight when using reflection on method arguments.

There are two places you might need to add this if you are having issues:

Maven pom.xml

<plugin>
	<groupId>org.apache.maven.plugins</groupId>
	<artifactId>maven-compiler-plugin</artifactId>
	<version>3.7</version>
	<configuration>
		<source>1.8</source>
		<target>1.8</target>
		<compilerArgument>-parameters</compilerArgument>
	</configuration>
</plugin>

Your IDE

IntelliJ

Further reading about -parameters: https://docs.oracle.com/javase/tutorial/reflect/member/methodparameterreflection.html

Clone this wiki locally