Package net.bytebuddy.pool
Class TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.UnresolvedDelegate
- java.lang.Object
-
- net.bytebuddy.pool.TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.Delegate
-
- net.bytebuddy.pool.TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.UnresolvedDelegate
-
- Enclosing class:
- TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription
private class TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.UnresolvedDelegate extends TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.Delegate
A unresolved delegate that has not parsed the class file.
-
-
Field Summary
Fields Modifier and Type Field Description private AsmClassReaderclassReaderThe represented ASM class reader.
-
Constructor Summary
Constructors Modifier Constructor Description privateUnresolvedDelegate(AsmClassReader classReader)Creates an unresolved delegated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeList.GenericgetInterfaces()Returns a list of generic interfaces of the represented class.intgetModifiers()Returns the modifiers of the represented class.java.lang.StringgetName()Returns the name of the represented class.TypeDescription.GenericgetSuperClass()Returns the generic super class of the represented class ornullif none exists.protected TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.ResolvedDelegateresolve()Returns a resolved version of this delegate.
-
-
-
Field Detail
-
classReader
private final AsmClassReader classReader
The represented ASM class reader.
-
-
Constructor Detail
-
UnresolvedDelegate
private UnresolvedDelegate(AsmClassReader classReader)
Creates an unresolved delegated.- Parameters:
classReader- The represented ASM class reader.
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from class:TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.DelegateReturns the name of the represented class.- Specified by:
getNamein classTypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.Delegate- Returns:
- The name of the represented class.
-
getModifiers
public int getModifiers()
Description copied from class:TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.DelegateReturns the modifiers of the represented class.- Specified by:
getModifiersin 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.DelegateReturns the generic super class of the represented class ornullif none exists.- Specified by:
getSuperClassin classTypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.Delegate- Returns:
- The generic super class of the represented class or
nullif none exists.
-
getInterfaces
public TypeList.Generic getInterfaces()
Description copied from class:TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.DelegateReturns a list of generic interfaces of the represented class.- Specified by:
getInterfacesin 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.DelegateReturns a resolved version of this delegate.- Specified by:
resolvein classTypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.Delegate- Returns:
- A resolved version of this delegate.
-
-