@HashCodeAndEqualsPlugin.Enhance public static class Plugin.Factory.UsingReflection.Instantiator.Unresolved extends java.lang.Object implements Plugin.Factory.UsingReflection.Instantiator
Plugin.Factory.UsingReflection.Instantiator.Resolved, Plugin.Factory.UsingReflection.Instantiator.Unresolved| Modifier and Type | Field and Description |
|---|---|
private java.lang.Class<? extends Plugin> |
type
The type for which no constructor was yet resolved.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Unresolved(java.lang.Class<? extends Plugin> type)
Creates a new unresolved constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Plugin |
instantiate()
Instantiates the represented plugin.
|
Plugin.Factory.UsingReflection.Instantiator |
replaceBy(Plugin.Factory.UsingReflection.Instantiator.Resolved instantiator)
Returns either this instantiator or the supplied instantiator, depending on the instances' states.
|
private final java.lang.Class<? extends Plugin> type
protected Unresolved(java.lang.Class<? extends Plugin> type)
type - The type for which no constructor was yet resolved.public Plugin.Factory.UsingReflection.Instantiator replaceBy(Plugin.Factory.UsingReflection.Instantiator.Resolved instantiator)
replaceBy in interface Plugin.Factory.UsingReflection.Instantiatorinstantiator - The alternative instantiator.public Plugin instantiate()
instantiate in interface Plugin.Factory.UsingReflection.Instantiator