Interface CodeProvider
- All Superinterfaces:
AutoCloseable, CodeLoader, CodeNode, CodeWithContext
- All Known Subinterfaces:
CodeContext, CodeSource
Abstract interface used to retrieve
CodePackages and CodeTypes. Common parent of
CodeSource and CodeContext.- Since:
- 1.0.0
- Author:
- hohwille
-
Method Summary
Methods inherited from interface CodeLoader
getType, getType, getTypeMethods inherited from interface CodeWithContext
getContext, getSource
-
Method Details
-
parseName
- Parameters:
hierarchicalName- the hierarchical name as plainStringto parse. E.g. aqualified nameor a part of it.- Returns:
- the parsed
CodeName.
-
getRequiredType
- Parameters:
qualifiedName- thequalified nameof the requestedCodeType.- Returns:
- the requested
CodeGenericType. TypicallyCodeType. - Throws:
io.github.mmm.base.exception.ObjectNotFoundException- if the type was not found.
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-