View Javadoc
1   package com.github.celldynamics.quimp.plugin;
2   
3   import static java.lang.annotation.ElementType.FIELD;
4   import static java.lang.annotation.RetentionPolicy.RUNTIME;
5   
6   import java.lang.annotation.Documented;
7   import java.lang.annotation.Retention;
8   import java.lang.annotation.Target;
9   
10  /**
11   * This annotation denotes that annotated field will be escaped by specified symbols.
12   * 
13   * <p>Strings between escaping characters are not processed against spaces. Should be applied for
14   * String type only.
15   * 
16   * @author p.baniukiewicz
17   *
18   */
19  @Documented
20  @Retention(RUNTIME)
21  @Target(FIELD)
22  public @interface EscapedPath {
23  
24    /**
25     * Left escaping character.
26     * 
27     * @return Left escaping character
28     * @deprecated Not implemented in removeSpacesMacro
29     */
30    char left() default '(';
31  
32    /**
33     * Right escaping character.
34     * 
35     * @return Right escaping character
36     * @deprecated Not implemented in removeSpacesMacro
37     */
38    char right() default ')';
39  
40  }