All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kz.charles_grozny.bukkitConfig.configuration.serialization.DelegateDeserialization Maven / Gradle / Ivy

The newest version!
package kz.charles_grozny.bukkitConfig.configuration.serialization;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Applies to a {@link ConfigurationSerializable} that will delegate all
 * deserialization to another {@link ConfigurationSerializable}.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface DelegateDeserialization {
    /**
     * Which class should be used as a delegate for this classes
     * deserialization
     *
     * @return Delegate class
     */
    public Class value();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy