Annotation Type ConstructorTrigger


@Documented
@Trigger(template=ConstructorTemplate.class)
@Target(TYPE)
public @interface ConstructorTrigger
The trigger annotation for the example. Refers to the template describing the class to be generated.
  • Optional Element Summary

    Optional Elements 
    Modifier and Type Optional Element Description
    boolean shadow
    All trigger annotations in japkit must have this annotation value.
  • Element Details

    • shadow

      boolean shadow
      All trigger annotations in japkit must have this annotation value. When generating a class, the trigger annotation is copied to the generated class and shadow is set to false to mark it as a copy.
      Returns:
      true means, it is a copy of the original annotation.
      Default:
      false