Interface ClassDeclarationModifier.OperationFunction<T>

Type Parameters:
T - the operations it is given
Enclosing interface:
ClassDeclarationModifier
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 ClassDeclarationModifier.OperationFunction<T>
Work that edits a class header.
  • 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