public static class TypePool.Resolution.Simple extends Object implements TypePool.Resolution
TypeDescription.TypePool.Resolution.Illegal, TypePool.Resolution.Simple| Constructor and Description |
|---|
Simple(TypeDescription typeDescription)
Creates a new successful resolution of a given type description.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
boolean |
isResolved()
Determines if this resolution represents a
TypeDescription. |
TypeDescription |
resolve()
Resolves this resolution to the represented type description.
|
String |
toString() |
public Simple(TypeDescription typeDescription)
typeDescription - The represented type description.public boolean isResolved()
TypePool.ResolutionTypeDescription.isResolved in interface TypePool.Resolutiontrue if the queried type could be resolved.public TypeDescription resolve()
TypePool.Resolutionresolve in interface TypePool.ResolutionCopyright © 2014–2016. All rights reserved.