
io.github.sporklibrary.binders.MethodBinder Maven / Gradle / Ivy
package io.github.sporklibrary.binders;
import io.github.sporklibrary.interfaces.AnnotationClassProvider;
import io.github.sporklibrary.reflection.AnnotatedMethod;
import java.lang.annotation.Annotation;
/**
* A MethodBinder provides binding for a specific Method annotation.
*/
public interface MethodBinder extends AnnotationClassProvider
{
/**
* Bind an annotation for a specific Method of a given object.
* @param object the parent object that owns the field
* @param annotatedMethod the annotated method to bind
*/
void bind(Object object, AnnotatedMethod annotatedMethod);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy