Class TypePool.Resolution.Simple

    • Constructor Detail

      • Simple

        public Simple​(TypeDescription typeDescription)
        Creates a new successful resolution of a given type description.
        Parameters:
        typeDescription - The represented type description.
    • Method Detail

      • resolve

        public TypeDescription resolve()
        Description copied from interface: TypePool.Resolution
        Resolves this resolution to a TypeDescription. If this resolution is unresolved, this method throws an exception either upon invoking this method or upon invoking at least one method of the returned type description.
        Specified by:
        resolve in interface TypePool.Resolution
        Returns:
        The type description that is represented by this resolution.