@@ -46,12 +46,12 @@ public class SpringApplicationAotProcessor extends ContextAotProcessor {
46
46
47
47
/**
48
48
* Create a new processor for the specified application and settings.
49
- * @param application the application main class
49
+ * @param applicationMainClass the application main class
50
50
* @param settings the general AOT processor settings
51
51
* @param applicationArgs the arguments to provide to the main method
52
52
*/
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 );
55
55
this .applicationArgs = applicationArgs ;
56
56
}
57
57
@@ -66,7 +66,7 @@ protected GenericApplicationContext prepareApplicationContext(Class<?> applicati
66
66
public static void main (String [] args ) throws Exception {
67
67
int requiredArgs = 6 ;
68
68
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...>" );
70
70
Class <?> application = Class .forName (args [0 ]);
71
71
Settings settings = Settings .builder ()
72
72
.sourceOutput (Paths .get (args [1 ]))
0 commit comments