Last active
January 4, 2017 07:29
-
-
Save illerax/4d71c90fe3edf5cd090cc1b94b28df36 to your computer and use it in GitHub Desktop.
This file contains 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
package com.illerax.randominit | |
import org.codehaus.groovy.transform.GroovyASTTransformationClass | |
import java.lang.annotation.ElementType | |
import java.lang.annotation.Retention | |
import java.lang.annotation.RetentionPolicy | |
import java.lang.annotation.Target | |
@Target([ElementType.LOCAL_VARIABLE]) | |
@Retention(RetentionPolicy.SOURCE) | |
@GroovyASTTransformationClass("com.illerax.randominit.RandomInitTransformation") | |
@interface RandomInit { | |
int minLength() default 1 | |
int maxLength() default 100 | |
int min() default 0 | |
int max() default 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment