类 SimpleTypeReference
java.lang.Object
cn.taketoday.aot.hint.AbstractTypeReference
cn.taketoday.aot.hint.SimpleTypeReference
- 所有已实现的接口:
TypeReference
A
TypeReference based on fully qualified name.- 从以下版本开始:
- 4.0
- 作者:
- Stephane Nicoll
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static voidbuildName(TypeReference type, StringBuilder sb) private static SimpleTypeReferencecreateTypeReference(String className) Return the canonical name of this type reference.protected booleanprivate static booleanisPrimitive(String name) private static booleanisValidClassName(String className) (专用程序包) static SimpleTypeReferenceCreate an instance based on the specified class name.从类继承的方法 cn.taketoday.aot.hint.AbstractTypeReference
addPackageIfNecessary, equals, getEnclosingType, getName, getPackageName, getSimpleName, hashCode, toString
-
字段详细资料
-
PRIMITIVE_NAMES
-
canonicalName
-
-
构造器详细资料
-
SimpleTypeReference
SimpleTypeReference(String packageName, String simpleName, @Nullable TypeReference enclosingType)
-
-
方法详细资料
-
of
从接口复制的说明:TypeReferenceCreate 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
-
createTypeReference
-
getCanonicalName
从接口复制的说明:TypeReferenceReturn the canonical name of this type reference.- 返回:
- the canonical name
-
isPrimitive
protected boolean isPrimitive()- 指定者:
isPrimitive在类中AbstractTypeReference
-
isPrimitive
-
buildName
-