Renames
This commit is contained in:
parent
4bfb7b94eb
commit
f959704f08
19 changed files with 66 additions and 46 deletions
|
|
@ -61,7 +61,7 @@ public interface BãßBȍőnEnumSetʸᴰ<T> extends BãßBȍőnEnumʸᴰ<T> {
|
|||
return values[resultIndex];
|
||||
}
|
||||
|
||||
default void staticVoorElk(Consumer<T> consumer) {
|
||||
default void BãßVoorElk(Consumer<T> consumer) {
|
||||
for (T value:BãßInstances()) {
|
||||
consumer.accept(value);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,18 +5,13 @@ public interface BãßBȍőnEnumʸᴰ<T> {
|
|||
|
||||
String name();
|
||||
|
||||
// Bȍőn prefix is for set instance enum object called BãßBȍőnEnumSetʸᴰ
|
||||
// Bãß prefix is for single instance enum objects called BãßBȍőnEnumInstanceʸᴰ
|
||||
|
||||
default String BȍőnNaam() {
|
||||
return name();
|
||||
}
|
||||
|
||||
default String BȍőnNaamI18N() {
|
||||
return BãßNaam() + BãßBȍőnConstantsʸᴰ.STR_DOT + name();
|
||||
}
|
||||
|
||||
default String BãßNaam() {
|
||||
return getClass().getAnnotation(BãßBȍőnInfoʸᴰ.class).name();
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
default T[] BãßInstances() {
|
||||
try {
|
||||
|
|
@ -26,4 +21,24 @@ public interface BãßBȍőnEnumʸᴰ<T> {
|
|||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
|
||||
default String BãßNaam() {
|
||||
return getClass().getAnnotation(BãßBȍőnInfoʸᴰ.class).name();
|
||||
}
|
||||
|
||||
default String BãßPurpose() {
|
||||
return getClass().getAnnotation(BãßBȍőnInfoʸᴰ.class).purpose();
|
||||
}
|
||||
|
||||
default String BãßAuthorNaam() {
|
||||
return getClass().getAnnotation(BãßBȍőnAuthorInfoʸᴰ.class).name();
|
||||
}
|
||||
|
||||
default String BãßAuthorCopyright() {
|
||||
return getClass().getAnnotation(BãßBȍőnAuthorInfoʸᴰ.class).copyright();
|
||||
}
|
||||
|
||||
default String BȍőnNaamI18N() {
|
||||
return BãßNaam() + BãßBȍőnConstantsʸᴰ.STR_DOT + name();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue