Package net.bytebuddy.pool
Class TypePool.Default.GenericTypeExtractor.IncompleteToken.ForTopLevelType
- java.lang.Object
-
- net.bytebuddy.pool.TypePool.Default.GenericTypeExtractor.IncompleteToken.AbstractBase
-
- net.bytebuddy.pool.TypePool.Default.GenericTypeExtractor.IncompleteToken.ForTopLevelType
-
- All Implemented Interfaces:
TypePool.Default.GenericTypeExtractor.IncompleteToken
- Enclosing interface:
- TypePool.Default.GenericTypeExtractor.IncompleteToken
@Enhance public static class TypePool.Default.GenericTypeExtractor.IncompleteToken.ForTopLevelType extends TypePool.Default.GenericTypeExtractor.IncompleteToken.AbstractBase
An incomplete token representing a generic type without an outer type.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.bytebuddy.pool.TypePool.Default.GenericTypeExtractor.IncompleteToken.AbstractBase
TypePool.Default.GenericTypeExtractor.IncompleteToken.AbstractBase.ForDirectBound, TypePool.Default.GenericTypeExtractor.IncompleteToken.AbstractBase.ForLowerBound, TypePool.Default.GenericTypeExtractor.IncompleteToken.AbstractBase.ForUpperBound
-
Nested classes/interfaces inherited from interface net.bytebuddy.pool.TypePool.Default.GenericTypeExtractor.IncompleteToken
TypePool.Default.GenericTypeExtractor.IncompleteToken.AbstractBase, TypePool.Default.GenericTypeExtractor.IncompleteToken.ForInnerClass, TypePool.Default.GenericTypeExtractor.IncompleteToken.ForTopLevelType
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
internalName
The internal name of the type.-
Fields inherited from class net.bytebuddy.pool.TypePool.Default.GenericTypeExtractor.IncompleteToken.AbstractBase
parameters
-
-
Constructor Summary
Constructors Constructor Description ForTopLevelType(java.lang.String internalName)
Creates a new incomplete token representing a type without an outer type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Returns the name of this token.boolean
isParameterized()
Returnstrue
if this token describes a type with parameters.TypePool.Default.LazyTypeDescription.GenericTypeToken
toToken()
Converts this incomplete token to a completed token.-
Methods inherited from class net.bytebuddy.pool.TypePool.Default.GenericTypeExtractor.IncompleteToken.AbstractBase
appendDirectBound, appendLowerBound, appendPlaceholder, appendUpperBound
-
-
-
-
Method Detail
-
toToken
public TypePool.Default.LazyTypeDescription.GenericTypeToken toToken()
Converts this incomplete token to a completed token.- Returns:
- The finalized token.
-
isParameterized
public boolean isParameterized()
Returnstrue
if this token describes a type with parameters.- Returns:
true
if this token describes a type with parameters.
-
getName
public java.lang.String getName()
Returns the name of this token.- Returns:
- The name of this token.
-
-