Class TypePool.LazyFacade.LazyResolution
java.lang.Object
net.bytebuddy.pool.TypePool.LazyFacade.LazyResolution
- All Implemented Interfaces:
TypePool.Resolution
- Enclosing class:
TypePool.LazyFacade
@Enhance
protected static class TypePool.LazyFacade.LazyResolution
extends Object
implements TypePool.Resolution
The lazy resolution for a lazy facade for a type pool.
-
Nested Class Summary
Nested classes/interfaces inherited from interface TypePool.Resolution
TypePool.Resolution.Illegal, TypePool.Resolution.NoSuchTypeException, TypePool.Resolution.Simple -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLazyResolution(TypePool typePool, String name) Creates a lazy resolution for a lazy facade for a type pool. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines if this resolution represents a fully-resolvedTypeDescription.resolve()Resolves this resolution to aTypeDescription.
-
Constructor Details
-
LazyResolution
-
-
Method Details
-
isResolved
public boolean isResolved()Determines if this resolution represents a fully-resolvedTypeDescription.- Specified by:
isResolvedin interfaceTypePool.Resolution- Returns:
trueif the queried type could be resolved.
-
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.- Specified by:
resolvein interfaceTypePool.Resolution- Returns:
- The type description that is represented by this resolution.
-