类 SimpleTypeReference

java.lang.Object
cn.taketoday.aot.hint.AbstractTypeReference
cn.taketoday.aot.hint.SimpleTypeReference
所有已实现的接口:
TypeReference, Comparable<TypeReference>

final class SimpleTypeReference extends AbstractTypeReference
A TypeReference based on fully qualified name.
从以下版本开始:
4.0
作者:
Stephane Nicoll
  • 字段详细资料

  • 构造器详细资料

  • 方法详细资料

    • of

      static SimpleTypeReference of(String className)
      从接口复制的说明: TypeReference
      Create an instance based on the specified class name. The format of the class name must follow Class.getName(), in particular inner classes should be separated by a $.
      参数:
      className - the class name of the type to wrap
      返回:
      a type reference for the specified class name
    • isValidClassName

      private static boolean isValidClassName(String className)
    • createTypeReference

      private static SimpleTypeReference createTypeReference(String className)
    • getCanonicalName

      public String getCanonicalName()
      从接口复制的说明: TypeReference
      Return the canonical name of this type reference.
      返回:
      the canonical name
    • isPrimitive

      protected boolean isPrimitive()
      指定者:
      isPrimitive 在类中 AbstractTypeReference
    • isPrimitive

      private static boolean isPrimitive(String name)
    • buildName

      private static void buildName(@Nullable TypeReference type, StringBuilder sb)