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 * If a field is annotated with this annotation, it is 14 * added as a property to the parent, event if it is annotated with {@link UnrealChild}, 15 * {@link UnrealChildCollection}, {@link UnrealComponent} or {@link UnrealHeaderField}. 16 * When used on a public method, designates that this method should be used for property generation, 17 * eventhough there is no corresponding field. 18 * @author Martin Cerny 19 */ 20 @Target({ElementType.FIELD, ElementType.METHOD}) 21 @Retention(RetentionPolicy.RUNTIME) 22 public @interface UnrealProperty { 23 24 }