Class TypePool.AbstractBase.Hierarchical

    • Field Detail

      • parent

        private final TypePool parent
        The parent type pool.
    • Constructor Detail

      • Hierarchical

        protected Hierarchical​(TypePool.CacheProvider cacheProvider,
                               TypePool parent)
        Creates a hierarchical type pool.
        Parameters:
        cacheProvider - The cache provider to be used.
        parent - The parent type pool to be used.
    • Method Detail

      • describe

        public TypePool.Resolution describe​(java.lang.String name)
        Locates and describes the given type by its name.
        Specified by:
        describe in interface TypePool
        Overrides:
        describe in class TypePool.AbstractBase
        Parameters:
        name - The name of the type to describe. The name is to be written as when calling Object.toString() on a loaded Class.
        Returns:
        A resolution of the type to describe. If the type to be described was found, the returned TypePool.Resolution represents this type. Otherwise, an illegal resolution is returned.