Class SimpleInjector

java.lang.Object
com.sk89q.minecraft.util.commands.SimpleInjector
All Implemented Interfaces:
Injector

public class SimpleInjector extends Object implements Injector
  • Constructor Details

    • SimpleInjector

      public SimpleInjector(Object... args)
  • Method Details

    • getInstance

      public Object getInstance(Class<?> clazz)
      Description copied from interface: Injector
      Constructs a new instance of the given class.
      Specified by:
      getInstance in interface Injector
      Parameters:
      clazz - class
      Returns:
      object