Annotation Interface Cached


@Retention(RUNTIME) @Target(METHOD) public @interface Cached
Annotation that can be used on parser methods returning Rules and having parameters. Instructs parboiled to automatically cache the method return value for the parameters it was created with. Note that all parser methods returning Rule objects and not taking any parameter are automatically cached and are therefore not allowed to carry this annotation.