Class TypeCache


  • public class TypeCache
    extends java.lang.Object
    Cache for resolved types.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  TypeCache.CachedType<T extends TypeDescriptor>
      Represents a type and all of its declared members.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      TypeCache.CachedType get​(java.lang.String fullQualifiedName)
      Find a type by its fully qualified named.
      void put​(java.lang.String fullQualifiedName, TypeCache.CachedType cachedType)
      Put a type.
      • Methods inherited from class java.lang.Object

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

      • get

        public TypeCache.CachedType get​(java.lang.String fullQualifiedName)
        Find a type by its fully qualified named.
        Parameters:
        fullQualifiedName - The fqn.
        Returns:
        The cached type or null.
      • put

        public void put​(java.lang.String fullQualifiedName,
                        TypeCache.CachedType cachedType)
        Put a type.
        Parameters:
        fullQualifiedName - The fqn.
        cachedType - The type.