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 the provider's classpath.
      • getClass

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