Interface CommandGeneratorFactory

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface CommandGeneratorFactory
Creates the platform generator of one annotation-processing session.

A platform processor supplies a factory, usually as a constructor reference: return BukkitCommandGenerator::new;.

  • Method Summary

    Modifier and Type
    Method
    Description
    create(ProcessingEnvironment processingEnvironment)
    Creates the generator bound to the current processing environment.
  • Method Details

    • create

      CommandGenerator create(ProcessingEnvironment processingEnvironment)
      Creates the generator bound to the current processing environment.
      Parameters:
      processingEnvironment - the processing environment of the current compiler round
      Returns:
      the platform generator