Package io.cucumber.core.backend
Interface Lookup
- All Known Subinterfaces:
ObjectFactory
- All Known Implementing Classes:
DefaultObjectFactory
@API(status=STABLE)
public interface Lookup
-
Method Summary
Modifier and TypeMethodDescription<T> T
getInstance
(Class<T> glueClass) Provides an instance of a glue class.
-
Method Details
-
getInstance
Provides an instance of a glue class.- Type Parameters:
T
- type of Glue class- Parameters:
glueClass
- type of instance to be created.- Returns:
- new instance of type T
-