@Retention(value=RUNTIME) @Target(value=TYPE) public @interface SerializableAs
ConfigurationSerializable
may be
stored as.
If this is not present on a ConfigurationSerializable
class, it
will use the fully qualified name of the class.
This value will be stored in the configuration so that the configuration deserialization can determine what type it is.
Using this annotation on any other class than a ConfigurationSerializable
will have no effect.
Copyright © 2021. All rights reserved.