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.
  • Field Details

    • internalName

      private final String internalName
      The internal name of the type.
  • Constructor Details

    • ForTopLevelType

      public ForTopLevelType(String internalName)
      Creates a new incomplete token representing a type without an outer type.
      Parameters:
      internalName - The internal name of the type.
  • Method Details

    • toToken

      Converts this incomplete token to a completed token.
      Returns:
      The finalized token.
    • isParameterized

      public boolean isParameterized()
      Returns true if this token describes a type with parameters.
      Returns:
      true if this token describes a type with parameters.
    • getName

      public String getName()
      Returns the name of this token.
      Returns:
      The name of this token.