Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ailabs-software/e44a5b396cd78607939d662b1af8082c to your computer and use it in GitHub Desktop.
Save ailabs-software/e44a5b396cd78607939d662b1af8082c to your computer and use it in GitHub Desktop.
package ailabs.jclosure.client.encoding;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/** @fileoverview The Serializable annotation. */
@Retention(RetentionPolicy.RUNTIME)
public @interface Serializable
{
/**
* Optional argument that defines whether this annotation is active
* or not. The only use for value 'false' if for overriding purposes.
* Overriding may be necessary when used
* with "mix-in annotations" (aka "annotation overrides").
* For most cases, however, default value of "true" is just fine
* and should be omitted.
*/
boolean value() default true;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment