java.lang.Object
com.blamejared.crafttweaker.annotation.processor.validation.expansion.info.KnownTypeRegistry
All Implemented Interfaces:
IHasPostCreationCall

public class KnownTypeRegistry extends Object implements IHasPostCreationCall
  • Constructor Details

    • KnownTypeRegistry

      public KnownTypeRegistry(org.reflections.Reflections reflections)
  • Method Details

    • addNamedTypes

      public void addNamedTypes(Set<? extends Element> elements)
    • addNativeTypes

      public void addNativeTypes(Set<? extends Element> elements)
    • addExpansionTypes

      public void addExpansionTypes(Set<? extends Element> elements)
    • addTypedExpansionTypes

      public void addTypedExpansionTypes(Set<? extends Element> elements)
    • getNamedTypes

      public Collection<TypeElement> getNamedTypes()
    • getNativeTypes

      public Collection<TypeElement> getNativeTypes()
    • getNativeTypesFromDependencies

      public Collection<TypeElement> getNativeTypesFromDependencies()
    • getNamedTypesFromDependencies

      public Collection<TypeElement> getNamedTypesFromDependencies()
    • getAllNativeTypes

      public Stream<TypeElement> getAllNativeTypes()
    • getAllNamedTypes

      public Stream<TypeElement> getAllNamedTypes()
    • getExpansionTypes

      public Collection<TypeElement> getExpansionTypes()
    • getTypedExpansionTypes

      public Collection<TypeElement> getTypedExpansionTypes()
    • afterCreation

      public void afterCreation()
      Description copied from interface: IHasPostCreationCall
      The method called after the constructor of the type was invoked. At this time the instance will already be in the DI registry, so anything created by this can request an instance of this type.
      Specified by:
      afterCreation in interface IHasPostCreationCall