Class 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
      void accept​(java.lang.String[] args)  
      static void main​(java.lang.String[] args)
      The entry point of the BuildTimeScan utility.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Consumer

        andThen
    • Constructor Detail

      • BuildTimeScan

        public BuildTimeScan()
    • Method Detail

      • accept

        public void accept​(java.lang.String[] args)
        Specified by:
        accept in interface java.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.