easy-random
easy-random copied to clipboard
Why not use custom Fields and Classes? This way, third-party projects such as idea plugins SDK PsiClass、PsiField can be better adapted
when i write a idea plugin,i find it's difficult to adapt,java.reflect.Field is final, i will change more and more code to realize
demo: ` interface CustomField {
} interface CustomClass { }
public interface RandomizerRegistry {
void init(EasyRandomParameters parameters);
Randomizer<?> getRandomizer(final CustomField field);
Randomizer<?> getRandomizer(final CustomClass type);
} `