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
@Enhance 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 Modifier and Type Field Description private static char
INNER_CLASS_SEPARATOR
The separator that indicates an inner type.private java.lang.String
internalName
The internal name of the type.private TypePool.Default.GenericTypeExtractor.IncompleteToken
outerTypeToken
The token representing the outer type.-
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
-
-
-
-
Field Detail
-
INNER_CLASS_SEPARATOR
private static final char INNER_CLASS_SEPARATOR
The separator that indicates an inner type.- See Also:
- Constant Field Values
-
internalName
private final java.lang.String internalName
The internal name of the type.
-
outerTypeToken
private final TypePool.Default.GenericTypeExtractor.IncompleteToken outerTypeToken
The token representing the outer type.
-
-
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()
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.
-
-