Package net.bytebuddy.pool
Class TypePool.Default.GenericTypeExtractor.IncompleteToken.ForInnerClass
- java.lang.Object
-
- net.bytebuddy.pool.TypePool.Default.GenericTypeExtractor.IncompleteToken.AbstractBase
-
- net.bytebuddy.pool.TypePool.Default.GenericTypeExtractor.IncompleteToken.ForInnerClass
-
- All Implemented Interfaces:
TypePool.Default.GenericTypeExtractor.IncompleteToken
- Enclosing interface:
- TypePool.Default.GenericTypeExtractor.IncompleteToken
public static class TypePool.Default.GenericTypeExtractor.IncompleteToken.ForInnerClass extends TypePool.Default.GenericTypeExtractor.IncompleteToken.AbstractBase
An incomplete generic type token representing a type with 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 inherited from class net.bytebuddy.pool.TypePool.Default.GenericTypeExtractor.IncompleteToken.AbstractBase
parameters
-
-
Constructor Summary
Constructors Constructor Description ForInnerClass(java.lang.String internalName, TypePool.Default.GenericTypeExtractor.IncompleteToken outerTypeToken)
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
-
-
-
-
Constructor Detail
-
ForInnerClass
public ForInnerClass(java.lang.String internalName, TypePool.Default.GenericTypeExtractor.IncompleteToken outerTypeToken)
Creates a new incomplete token representing a type without an outer type.- Parameters:
internalName
- The internal name of the type.outerTypeToken
- The incomplete token representing the outer type.
-
-
Method Detail
-
toToken
public TypePool.Default.LazyTypeDescription.GenericTypeToken toToken()
Description copied from interface:TypePool.Default.GenericTypeExtractor.IncompleteToken
Converts this incomplete token to a completed token.- Returns:
- The finalized token.
-
isParameterized
public boolean isParameterized()
Description copied from interface:TypePool.Default.GenericTypeExtractor.IncompleteToken
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()
Description copied from interface:TypePool.Default.GenericTypeExtractor.IncompleteToken
Returns the name of this token.- Returns:
- The name of this token.
-
-