- java.lang.Object
-
- com.github.zhgzhg.tinydi.build.BuildTimeScan
-
- All Implemented Interfaces:
java.util.function.Consumer<java.lang.String[]>
public class BuildTimeScan extends java.lang.Object implements java.util.function.Consumer<java.lang.String[]>CLI utility which may be executed during build time to produce JSON file with classpath scan information. Useful for platforms with limited reflection capabilities (Android, GraalVM native images, etc.). To see the supported parameters execute it without any arguments, or only with '-h' parameter.
-
-
Constructor Summary
Constructors Constructor Description BuildTimeScan()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(java.lang.String[] args)static voidmain(java.lang.String[] args)The entry point of the BuildTimeScan utility.
-
-
-
Method Detail
-
accept
public void accept(java.lang.String[] args)
- Specified by:
acceptin interfacejava.util.function.Consumer<java.lang.String[]>
-
main
public static void main(java.lang.String[] args)
The entry point of the BuildTimeScan utility.- Parameters:
args- The command line arguments used to customize the classpath scanning process.
-
-