- All Known Implementing Classes:
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface TypeLocator
Implementers of this interface are expected to be able to locate types. They may use a custom
ClassLoaderand/or deal with common package prefixes (e.g.
java.lang) however they wish.
for an example implementation.
- Andy Clement
findTypeFind a type by name. The name may or may not be fully qualified (e.g.
typeName- the type to be located
Classobject representing that type
EvaluationException- if there is a problem finding the type