protected class TypePool.Default.WithLazyResolution.LazyResolution extends Object implements TypePool.Resolution
TypePool.Resolution.Illegal, TypePool.Resolution.Simple| Modifier | Constructor and Description |
|---|---|
protected |
LazyResolution(String name)
Creates a new lazy resolution.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
int |
hashCode() |
boolean |
isResolved()
Determines if this resolution represents a fully-resolved
TypeDescription. |
TypeDescription |
resolve()
Resolves this resolution to a
TypeDescription. |
String |
toString() |
protected LazyResolution(String name)
name - The type's name.public boolean isResolved()
TypePool.ResolutionTypeDescription.isResolved in interface TypePool.Resolutiontrue if the queried type could be resolved.public TypeDescription resolve()
TypePool.ResolutionTypeDescription. If this resolution is unresolved, this
method throws an exception either upon invoking this method or upon invoking at least one method
of the returned type description.resolve in interface TypePool.ResolutionCopyright © 2014–2016. All rights reserved.