@FunctionalInterface public interface TypeLocator
ClassLoader
and/or deal with common
package prefixes (e.g. java.lang
) however they wish.
See StandardTypeLocator
for an example implementation.
Modifier and Type | Method and Description |
---|---|
Class<?> |
findType(String typeName)
Find a type by name.
|
Class<?> findType(String typeName) throws EvaluationException
String
or java.lang.String
).typeName
- the type to be locatedClass
object representing that typeEvaluationException
- if there is a problem finding the type