Class TypePool.Explicit

All Implemented Interfaces:
TypePool
Enclosing interface:
TypePool

@Enhance public static class TypePool.Explicit extends TypePool.AbstractBase.Hierarchical
A type pool that supplies explicitly known type descriptions.
  • Field Details

  • Constructor Details

    • Explicit

      public Explicit(Map<String,TypeDescription> types)
      Creates a new explicit type pool without a parent.
      Parameters:
      types - A mapping from type names to type descriptions of that name.
    • Explicit

      public Explicit(TypePool parent, Map<String,TypeDescription> types)
      Creates a new explicit type pool.
      Parameters:
      parent - The parent type pool.
      types - A mapping from type names to type descriptions of that name.
  • Method Details