
io.github.sporklibrary.binders.MethodBinder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spork Show documentation
Show all versions of spork Show documentation
Annotation binding library
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