
com.github.thorbenkuck.netcom2.auto.annotations.Encrypt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of NetCom2-Auto Show documentation
Show all versions of NetCom2-Auto Show documentation
Annotation approach to reduce boilerplate code
The newest version!
package com.github.thorbenkuck.netcom2.auto.annotations;
import java.lang.annotation.*;
/**
* Any annotated method is required to have a parameter (of type {@link String}) and a return value (of type {@link String}).
*
* This method will be wrapped into any {@link com.github.thorbenkuck.netcom2.network.shared.EncryptionAdapter}.
*/
@Retention(RetentionPolicy.CLASS)
@Target(ElementType.METHOD)
@Documented
public @interface Encrypt {
String name() default "";
boolean autoLoad() default true;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy