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 Modifier and Type Field Description private TypeDescription
typeDescription
The represented type description.
-
Constructor Summary
Constructors Modifier Constructor Description private
ResolvedDelegate(TypeDescription typeDescription)
Creates a new resolved version of a delegate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeList.Generic
getInterfaces()
Returns a list of generic interfaces of the represented class.int
getModifiers()
Returns the modifiers of the represented class.java.lang.String
getName()
Returns the name of the represented class.TypeDescription.Generic
getSuperClass()
Returns the generic super class of the represented class ornull
if none exists.TypeDescription
getTypeDescription()
Returns the represented type description.protected TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.ResolvedDelegate
resolve()
Returns a resolved version of this delegate.
-
-
-
Field Detail
-
typeDescription
private final TypeDescription typeDescription
The represented type description.
-
-
Constructor Detail
-
ResolvedDelegate
private ResolvedDelegate(TypeDescription typeDescription)
Creates a new resolved version of a delegate.- Parameters:
typeDescription
- The represented type description.
-
-
Method Detail
-
getTypeDescription
public TypeDescription getTypeDescription()
Returns the represented type description.- Returns:
- The represented type description.
-
getName
public java.lang.String 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
@MaybeNull public TypeDescription.Generic 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
public TypeList.Generic 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.
-
-