Interface JavaModifier.OperationFunction<T>

Type Parameters:
T - The type of the object that the operation modifies.
Enclosing class:
JavaModifier
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 static interface JavaModifier.OperationFunction<T>
A functional interface for operations that modify a CompilationUnit.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(T t)
    Performs the operation on the given object.
  • Method Details

    • accept

      void accept(T t) throws IOException
      Performs the operation on the given object.
      Parameters:
      t - The object to modify.
      Throws:
      IOException - If an error occurs during the operation.