All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.llamalad7.mixinextras.injector.wrapoperation.Operation Maven / Gradle / Ivy

package com.llamalad7.mixinextras.injector.wrapoperation;

import com.llamalad7.mixinextras.injector.wrapmethod.WrapMethod;

/**
 * Represents an operation that has been wrapped by {@link WrapOperation} or a method that has been wrapped by
 * {@link WrapMethod}. This may either be the operation the user targeted originally, or a wrapped version of it,
 * allowing for chaining.
 * @param  the return type of the operation.
 */
@FunctionalInterface
public interface Operation {
    R call(Object... args);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy