@HashCodeAndEqualsPlugin.Enhance public static class TypePool.Resolution.Simple extends java.lang.Object implements TypePool.Resolution
TypeDescription.TypePool.Resolution.Illegal, TypePool.Resolution.Simple| Modifier and Type | Field and Description |
|---|---|
private TypeDescription |
typeDescription
The represented type description.
|
| Constructor and Description |
|---|
Simple(TypeDescription typeDescription)
Creates a new successful resolution of a given type description.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isResolved()
Determines if this resolution represents a fully-resolved
TypeDescription. |
TypeDescription |
resolve()
Resolves this resolution to a
TypeDescription. |
private final TypeDescription typeDescription
public Simple(TypeDescription typeDescription)
typeDescription - The represented type description.public boolean isResolved()
TypeDescription.isResolved in interface TypePool.Resolutiontrue if the queried type could be resolved.public TypeDescription resolve()
TypeDescription. 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.Resolution