Package net.bytebuddy.pool
Interface TypePool.Resolution
-
- All Known Implementing Classes:
TypePool.AbstractBase.ArrayTypeResolution,TypePool.Default.WithLazyResolution.LazyResolution,TypePool.LazyFacade.LazyResolution,TypePool.Resolution.Illegal,TypePool.Resolution.Simple
- Enclosing interface:
- TypePool
public static interface TypePool.ResolutionA resolution of aTypePoolwhich was queried for a description.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTypePool.Resolution.IllegalA canonical representation of a non-successful resolution of aTypePool.static classTypePool.Resolution.SimpleA simple resolution that represents a givenTypeDescription.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisResolved()Determines if this resolution represents a fully-resolvedTypeDescription.TypeDescriptionresolve()Resolves this resolution to aTypeDescription.
-
-
-
Method Detail
-
isResolved
boolean isResolved()
Determines if this resolution represents a fully-resolvedTypeDescription.- Returns:
trueif the queried type could be resolved.
-
resolve
TypeDescription resolve()
Resolves this resolution to aTypeDescription. 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.- Returns:
- The type description that is represented by this resolution.
-
-