Annotation Type WrapperType


@Target(TYPE) @Retention(SOURCE) public @interface WrapperType
  • Element Details

    • wildcardClass

      Visibility wildcardClass
      Overrides the visibility of the generated inner class classWildcard. This is needed to workaround rawtypes warnings in the generated code, if the class has type parameters.

      The visibility defaults to the visibility of the class.

      Default:
      DEFAULT
    • type

      Overrides the visibility of the generated TYPE constant. The visibility defaults to the visibility of the class.
      Default:
      DEFAULT
    • constructor

      Visibility constructor
      Overrides the visibility of the generated initial constructor.

      The initial constructor takes arguments for each initial feature. Features are initial if they do implement Settable and Settable.isInitial() returns true. This can be overridden by WrapperInitial.

      The visibility defaults to the "most private" visibility of all initial features set by the constructor. However, the constructor is not "more public" than the class.

      Default:
      DEFAULT
    • genericConstructor

      Visibility genericConstructor
      Overrides the visibility of the generated generic constructor, that calls Item(com.exedio.cope.SetValue...). The visibility defaults to "private" for final classes, and "protected" for non-final classes.
      Default:
      DEFAULT
    • activationConstructor

      Visibility activationConstructor
      Overrides the visibility of the generated activation constructor, that calls Item(com.exedio.cope.ActivationParameters). The visibility defaults to "private" for final classes, and "protected" for non-final classes.
      Default:
      DEFAULT
    • indent

      int indent
      Default:
      1
    • comments

      boolean comments
      Default:
      true