Class TypeRegistry.DirectAccess

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private DirectAccess()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(java.lang.String name, TypeDescriptor<?> type)
      Adds a type.
      void addInstantiator​(java.lang.String name, TypeDescriptor<? extends IVilType> type)
      Adds an instantiator.
      boolean contains​(java.lang.String name)
      Returns whether the type given by name is already registered.
      boolean containsInstantiator​(java.lang.String name)
      Returns whether the instantiator given by name is already registered.
      TypeDescriptor<?> get​(java.lang.String name)
      Returns the type descriptor registered for name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait