View Javadoc

1   /*
2    * To change this template, choose Tools | Templates
3    * and open the template in the editor.
4    */
5   package cz.cuni.amis.pogamut.unreal.t3dgenerator.annotations;
6   
7   import java.lang.annotation.ElementType;
8   import java.lang.annotation.Retention;
9   import java.lang.annotation.RetentionPolicy;
10  import java.lang.annotation.Target;
11  
12  /**
13   * Interface to annotate string fields. Their value will then be treated
14   * as static text when generating T3D and simply prepended to the property string.
15   * If a method is annotated with this annotation, it is invoked to return a string
16   * that is prepended to the property string.
17   * @author Martin Cerny
18   */
19  @Target({ElementType.FIELD, ElementType.METHOD})
20  @Retention(RetentionPolicy.RUNTIME)
21  public @interface StaticText {
22      
23  }