@@ -46,12 +46,12 @@ public class SpringApplicationAotProcessor extends ContextAotProcessor {
4646
4747 /**
4848 * Create a new processor for the specified application and settings.
49- * @param application the application main class
49+ * @param applicationMainClass the application main class
5050 * @param settings the general AOT processor settings
5151 * @param applicationArgs the arguments to provide to the main method
5252 */
53- public SpringApplicationAotProcessor (Class <?> application , Settings settings , String [] applicationArgs ) {
54- super (application , settings );
53+ public SpringApplicationAotProcessor (Class <?> applicationMainClass , Settings settings , String [] applicationArgs ) {
54+ super (applicationMainClass , settings );
5555 this .applicationArgs = applicationArgs ;
5656 }
5757
@@ -66,7 +66,7 @@ protected GenericApplicationContext prepareApplicationContext(Class<?> applicati
6666 public static void main (String [] args ) throws Exception {
6767 int requiredArgs = 6 ;
6868 Assert .isTrue (args .length >= requiredArgs , () -> "Usage: " + SpringApplicationAotProcessor .class .getName ()
69- + " <applicationName > <sourceOutput> <resourceOutput> <classOutput> <groupId> <artifactId> <originalArgs...>" );
69+ + " <applicationMainClass > <sourceOutput> <resourceOutput> <classOutput> <groupId> <artifactId> <originalArgs...>" );
7070 Class <?> application = Class .forName (args [0 ]);
7171 Settings settings = Settings .builder ()
7272 .sourceOutput (Paths .get (args [1 ]))
0 commit comments