File

packages/java.lang.reflect/src/jtype.ts

Description

Type is the common superinterface for all types in the Java
programming language. These include raw types, parameterized types,
array types, type variables and primitive types.

Methods

getTypeName
getTypeName()

Returns a string describing this type, including information
about any type parameters.

Returns: string
export interface JType {
  /**
   * Returns a string describing this type, including information
   * about any type parameters.
   *
   * @implSpec The default implementation calls {@code toString}.
   *
   * @return a string describing this type
   * @since 1.8
   */
  getTypeName(): string; // TODO must return JString | see default implementation?
}

results matching ""

    No results matching ""