Created
May 26, 2017 17:03
-
-
Save naturalwarren/cc4567bf154cfab698c77f7543123155 to your computer and use it in GitHub Desktop.
Example usage of RAVE.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* A factory class capable of creating a validator whose implementation generated at annotation processing time. | |
*/ | |
public final class RaveValidatorFactory implements ValidatorFactory { | |
@NonNull | |
@Override | |
public BaseValidator generateValidator() { | |
return new RaveValidatorFactory_Generated_Validator(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment