public static interface TypePool.Resolution
TypePool
which was queried for a description.Modifier and Type | Interface and Description |
---|---|
static class |
TypePool.Resolution.Illegal
A canonical representation of a non-successful resolution of a
TypePool . |
static class |
TypePool.Resolution.NoSuchTypeException
An exception that indicates that a
TypePool could not resolve a TypeDescription for a given name. |
static class |
TypePool.Resolution.Simple
A simple resolution that represents a given
TypeDescription . |
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 . |
boolean isResolved()
TypeDescription
.true
if the queried type could be resolved.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.TypePool.Resolution.NoSuchTypeException
- If this resolution is unresolved.Copyright © 2014–2023. All rights reserved.