package org.enumerable.lambda.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * This annotation is used to mark fields added to a lambda holding captured * local variables. */ @Retention(RetentionPolicy.RUNTIME) @Target({ ElementType.FIELD, ElementType.PARAMETER }) public @interface LambdaLocal { boolean isReadOnly(); String name(); String parameterClass(); }