Skip to content

Instantly share code, notes, and snippets.

@peter-lawrey
Created March 14, 2012 08:34
Show Gist options
  • Save peter-lawrey/2035118 to your computer and use it in GitHub Desktop.
Save peter-lawrey/2035118 to your computer and use it in GitHub Desktop.
Interface for adding functionality to an annotation
import java.lang.reflect.Member;
/**
* @author peter.lawrey
*/
public interface AnnotationHandler<A> {
void process(Model model, Member member, A annotation);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment