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 AsmClassReader
classReader
The represented ASM class reader.
-
Constructor Summary
Constructors Modifier Constructor Description private
UnresolvedDelegate(AsmClassReader classReader)
Creates an unresolved delegated.
-
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.protected TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.ResolvedDelegate
resolve()
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.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.
-
-