public interface TypeLocator
ClassLoader
and/or deal with common
package prefixes (e.g. java.lang
) however they wish.
See StandardTypeLocator
for an example implementation.
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