Interface CodeLoader
- All Superinterfaces:
CodeWithContext
- All Known Subinterfaces:
CodeContext, CodeProvider, CodeSource
Abstract interface to get (or load)
types.- Since:
- 1.0.0
- Author:
- hohwille
-
Method Summary
Methods inherited from interface CodeWithContext
getContext, getSource
-
Method Details
-
getType
- Parameters:
qualifiedName- thequalified nameof the requestedCodeType.- Returns:
- the requested
CodeTypeornullif not found.
-
getType
-
getType
This method makes only sense for Java. For otherCodeLanguages please ignore this method.- Parameters:
clazz- theClassto get asCodeGenericType.- Returns:
- the existing or otherwise newly created
CodeGenericType. Typically aCodeTypebut may also be aarray typein case anarraywas given.
-