Class Converter.ConverterInfo<F,​T>

java.lang.Object
ch.njol.skript.classes.Converter.ConverterInfo<F,​T>
Type Parameters:
F - same as in Converter
T - dito
All Implemented Interfaces:
Debuggable
Enclosing interface:
Converter<F,​T>

public static final class Converter.ConverterInfo<F,​T> extends Object implements Debuggable
holds information about a converter
  • Field Details

    • from

      public final Class<F> from
    • to

      public final Class<T> to
    • converter

      public final Converter<F,​T> converter
    • options

      public final int options
  • Constructor Details

  • Method Details

    • toString

      public String toString(@Nullable org.bukkit.event.Event e, boolean debug)
      Specified by:
      toString in interface Debuggable
      Parameters:
      e - The event to get information to. This is always null if debug == false.
      debug - If true this should print more information, if false this should print what is shown to the end user
      Returns:
      String representation of this object