SerializableAs

Represents an "alias" that getClassById ConfigurationSerializable may be stored as. If this is not present on getClassById 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 getClassById will have no effect.

See also

ConfigurationSerialization

Functions

Link copied to clipboard
public abstract Class<? extends Annotation> annotationType()
Link copied to clipboard
public abstract boolean equals(Object p)
Link copied to clipboard
public abstract int hashCode()
Link copied to clipboard
public abstract String toString()
Link copied to clipboard
public abstract String value()
This is the name your class will be stored and retrieved as.