mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-26 23:12:58 +00:00
Remove unnecessary modifiers from enums and interfaces
This commit is contained in:
1 parent
55c58cf5d9
commit
507b8fa2d6
80 files changed
+106
-106
No files matched your search
@@ -16,7 +16,7 @@ public @interface ConfigProperty {
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.ANNOTATION_TYPE})
|
||||
public @interface Type {
|
||||
@interface Type {
|
||||
Class<? extends PropertyBase> propertyClass();
|
||||
|
||||
String category() default "general";
|
||||
|
||||
@@ -9,7 +9,7 @@ import java.lang.reflect.Field;
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@ConfigProperty.Type(propertyClass = PropBoolean.PropertyBoolean.class)
|
||||
public @interface PropBoolean {
|
||||
public static class PropertyBoolean extends PropertyBase<Boolean, PropBoolean> {
|
||||
class PropertyBoolean extends PropertyBase<Boolean, PropBoolean> {
|
||||
public PropertyBoolean(final Field field, final BinnieConfiguration file, final ConfigProperty configProperty, final PropBoolean annotedProperty) throws IllegalArgumentException, IllegalAccessException {
|
||||
super(field, file, configProperty, annotedProperty);
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ import java.lang.reflect.Field;
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@ConfigProperty.Type(propertyClass = PropDouble.PropertyDouble.class)
|
||||
public @interface PropDouble {
|
||||
public static class PropertyDouble extends PropertyBase<Double, PropDouble> {
|
||||
class PropertyDouble extends PropertyBase<Double, PropDouble> {
|
||||
public PropertyDouble(final Field field, final BinnieConfiguration file, final ConfigProperty configProperty, final PropDouble annotedProperty) throws IllegalArgumentException, IllegalAccessException {
|
||||
super(field, file, configProperty, annotedProperty);
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ import java.lang.reflect.Field;
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@ConfigProperty.Type(propertyClass = PropInteger.PropertyInteger.class)
|
||||
public @interface PropInteger {
|
||||
public static class PropertyInteger extends PropertyBase<Integer, PropInteger> {
|
||||
class PropertyInteger extends PropertyBase<Integer, PropInteger> {
|
||||
public PropertyInteger(final Field field, final BinnieConfiguration file, final ConfigProperty configProperty, final PropInteger annotedProperty) throws IllegalArgumentException, IllegalAccessException {
|
||||
super(field, file, configProperty, annotedProperty);
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ public @interface PropPercentage {
|
||||
|
||||
int lower() default 0;
|
||||
|
||||
public static class PropertyPercentage extends PropertyBase<Integer, PropPercentage> {
|
||||
class PropertyPercentage extends PropertyBase<Integer, PropPercentage> {
|
||||
public PropertyPercentage(final Field field, final BinnieConfiguration file, final ConfigProperty configProperty, final PropPercentage annotedProperty) throws IllegalArgumentException, IllegalAccessException {
|
||||
super(field, file, configProperty, annotedProperty);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user