Skip to content

Instantly share code, notes, and snippets.

@msulima
Created July 27, 2012 11:23
Show Gist options
  • Save msulima/3187475 to your computer and use it in GitHub Desktop.
Save msulima/3187475 to your computer and use it in GitHub Desktop.
FulfilsPredicate
package com.futureprocessing.fpcommunity.core.validation.groups;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import com.google.common.base.Predicate;
@Target(value = ElementType.PARAMETER)
@Retention(value = RetentionPolicy.RUNTIME)
public @interface FulfilsPredicate {
Class<? extends Predicate<?>>[] values();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment