Class NullClassesProvider

    • Field Detail

      • nameToBytecode

        private java.util.Map<java.lang.String,​IdentifiedBytecode> nameToBytecode
    • Constructor Detail

      • NullClassesProvider

        public NullClassesProvider​(java.util.Map<java.lang.String,​IdentifiedBytecode> initialMapping)
      • NullClassesProvider

        public NullClassesProvider()
    • Method Detail

      • getClassPathListing

        public java.util.List<java.lang.String> getClassPathListing()
        Description copied from interface: ClassesProvider
        Warning: may include lambdas and will include inner classes with $notations. Intentionally not using ClassIdentifier, but may change to it
        Specified by:
        getClassPathListing in interface ClassesProvider
        Returns:
        all fully qualified classes visible from classpath
      • getClass

        public java.util.Collection<IdentifiedBytecode> getClass​(ClassIdentifier... names)
        Description copied from interface: ClassesProvider
        Callback for compiler, which provides, on demand, the dependencies compiler is missing.
        Specified by:
        getClass in interface ClassesProvider
        Parameters:
        names - names of classes the provider should return
        Returns:
        bytecode of all found classes
      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException
        Throws:
        java.io.IOException