Interface BaseLoader

All Superinterfaces:
io.github.mmm.code.api.CodeLoader, io.github.mmm.code.api.CodeWithContext
All Known Subinterfaces:
BaseContext, BaseProvider, BaseSource, BaseSourceLoader
All Known Implementing Classes:
AbstractBaseContext, AbstractBaseContextWithCache, AbstractBaseProvider, BaseContextChild, BaseSourceImpl, BaseSourceLoaderImpl, BaseSourceLoaderRootPackage

public interface BaseLoader extends io.github.mmm.code.api.CodeLoader
CodeLoader for Java.
Since:
1.0.0
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)
  • Method Details

    • getContext

      BaseContext getContext()
      Specified by:
      getContext in interface io.github.mmm.code.api.CodeWithContext
    • getSource

      BaseSource getSource()
      Specified by:
      getSource in interface io.github.mmm.code.api.CodeWithContext
    • getType

      BaseType getType(String qualifiedName)
      Specified by:
      getType in interface io.github.mmm.code.api.CodeLoader
    • getType

      BaseType getType(io.github.mmm.code.api.CodeName qualifiedName)
      Specified by:
      getType in interface io.github.mmm.code.api.CodeLoader
    • getType

      BaseGenericType getType(Class<?> clazz)
      Specified by:
      getType in interface io.github.mmm.code.api.CodeLoader
      Parameters:
      clazz - the Class to get as CodeGenericType.
      Returns:
      the existing or otherwise newly created CodeGenericType. Typically a CodeType but may also be a array type in case an array was given.