Package net.bytebuddy.pool
Class TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.ResolvedDelegate
java.lang.Object
net.bytebuddy.pool.TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.Delegate
net.bytebuddy.pool.TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.ResolvedDelegate
- Enclosing class:
TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription
private class TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.ResolvedDelegate
extends TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.Delegate
A resolved version of a delegate where the class file was fully parsed.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ResolvedDelegate
(TypeDescription typeDescription) Creates a new resolved version of a delegate. -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of generic interfaces of the represented class.int
Returns the modifiers of the represented class.getName()
Returns the name of the represented class.Returns the generic super class of the represented class ornull
if none exists.Returns the represented type description.resolve()
Returns a resolved version of this delegate.
-
Field Details
-
typeDescription
The represented type description.
-
-
Constructor Details
-
ResolvedDelegate
Creates a new resolved version of a delegate.- Parameters:
typeDescription
- The represented type description.
-
-
Method Details
-
getTypeDescription
Returns the represented type description.- Returns:
- The represented type description.
-
getName
Description copied from class:TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.Delegate
Returns the name of the represented class.- Specified by:
getName
in classTypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.Delegate
- Returns:
- The name of the represented class.
-
getModifiers
public int getModifiers()Description copied from class:TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.Delegate
Returns the modifiers of the represented class.- Specified by:
getModifiers
in classTypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.Delegate
- Returns:
- The modifiers of the represented class.
-
getSuperClass
Description copied from class:TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.Delegate
Returns the generic super class of the represented class ornull
if none exists.- Specified by:
getSuperClass
in classTypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.Delegate
- Returns:
- The generic super class of the represented class or
null
if none exists.
-
getInterfaces
Description copied from class:TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.Delegate
Returns a list of generic interfaces of the represented class.- Specified by:
getInterfaces
in classTypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.Delegate
- Returns:
- A list of generic interfaces of the represented class.
-
resolve
protected TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.ResolvedDelegate resolve()Description copied from class:TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.Delegate
Returns a resolved version of this delegate.- Specified by:
resolve
in classTypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.Delegate
- Returns:
- A resolved version of this delegate.
-