Package 

Class DefaultTypeNameProvider

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getTypeName(Class<?> type) 获取ClassName
      Class<?> getType(String typeName) 根据name找Class
      final Unit checkForAliasCircle(String name, String alias) Check whether the given name points back to the given alias as an alias in the other direction already, catching a circular reference upfront and throwing a corresponding IllegalStateException.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultTypeNameProvider

        DefaultTypeNameProvider(Map<String, String> typeDict)
    • Method Detail

      • checkForAliasCircle

         final Unit checkForAliasCircle(String name, String alias)

        Check whether the given name points back to the given alias as an alias in the other direction already, catching a circular reference upfront and throwing a corresponding IllegalStateException.

        Parameters:
        name - the candidate name
        alias - the candidate alias