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
FieldsModifier and TypeFieldDescriptionprivate static final char
The separator that indicates an inner type.private final String
The internal name of the type.private final TypePool.Default.GenericTypeExtractor.IncompleteToken
The token representing the outer type.Fields inherited from class net.bytebuddy.pool.TypePool.Default.GenericTypeExtractor.IncompleteToken.AbstractBase
parameters
-
Constructor Summary
ConstructorsConstructorDescriptionForInnerClass
(String internalName, TypePool.Default.GenericTypeExtractor.IncompleteToken outerTypeToken) Creates a new incomplete token representing a type without an outer type. -
Method Summary
Methods inherited from class net.bytebuddy.pool.TypePool.Default.GenericTypeExtractor.IncompleteToken.AbstractBase
appendDirectBound, appendLowerBound, appendPlaceholder, appendUpperBound
-
Field Details
-
INNER_CLASS_SEPARATOR
private static final char INNER_CLASS_SEPARATORThe separator that indicates an inner type.- See Also:
-
internalName
The internal name of the type. -
outerTypeToken
The token representing the outer type.
-
-
Constructor Details
-
ForInnerClass
public ForInnerClass(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 Details
-
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
Returns the name of this token.- Returns:
- The name of this token.
-