com.github.bloodshura.ignitium.cfg.json.mapping.annotation.DefaultValues Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ignitium-cfg Show documentation
Show all versions of ignitium-cfg Show documentation
A collection of configuration and serialization readers and writers, like JSON, internationalization (I18n), and CSV.
package com.github.bloodshura.ignitium.cfg.json.mapping.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface DefaultValues {
boolean defaultBoolean() default false;
byte defaultByte() default (byte) 0;
char defaultChar() default (char) 0;
double defaultDouble() default 0.0D;
float defaultFloat() default 0.0F;
int defaultInt() default 0;
long defaultLong() default 0L;
short defaultShort() default 0;
boolean emptyCollections() default false;
boolean emptyStrings() default false;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy