Annotation Type IpsGenerated


  • @Retention(CLASS)
    @Target({TYPE,CONSTRUCTOR,FIELD,METHOD})
    public @interface IpsGenerated
    Marks the annotated element as generated by Faktor-IPS. This annotation is not automatically generated but must be activated by setting it as additional annotation in the .ipsproject configuration file:
     
     <Property name="additionalAnnotations" value="org.faktorips.runtime.annotation.IpsGenerated"/>
     
     
    This annotation can be used to exclude generated code from analysis, for example by SonarQube/JaCoCo, as it is retained in compiled classes, unlike javax.annotation.Generated.
    Since:
    21.12