Package com.exedio.cope.instrument
Annotation Type WrapperType
-
@Target(TYPE) @Retention(SOURCE) public @interface WrapperType
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Visibility
activationConstructor
Overrides the visibility of the generated activation constructor, that callsItem(com.exedio.cope.ActivationParameters)
.boolean
comments
Visibility
constructor
Overrides the visibility of the generated initial constructor.Visibility
genericConstructor
Overrides the visibility of the generated generic constructor, that callsItem(com.exedio.cope.SetValue...)
.int
indent
Visibility
type
Overrides the visibility of the generated TYPE constant.Visibility
wildcardClass
Overrides the visibility of the generated inner classclassWildcard
.
-
-
-
Element Detail
-
wildcardClass
Visibility wildcardClass
Overrides the visibility of the generated inner classclassWildcard
. 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:
- com.exedio.cope.instrument.Visibility.DEFAULT
-
-
-
type
Visibility type
Overrides the visibility of the generated TYPE constant. The visibilitydefaults
to the visibility of the class.- Default:
- com.exedio.cope.instrument.Visibility.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
andSettable.isInitial()
returns true. This can be overridden byWrapperInitial
.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:
- com.exedio.cope.instrument.Visibility.DEFAULT
-
-
-
genericConstructor
Visibility genericConstructor
Overrides the visibility of the generated generic constructor, that callsItem(com.exedio.cope.SetValue...)
. The visibilitydefaults
to "private" for final classes, and "protected" for non-final classes.- Default:
- com.exedio.cope.instrument.Visibility.DEFAULT
-
-
-
activationConstructor
Visibility activationConstructor
Overrides the visibility of the generated activation constructor, that callsItem(com.exedio.cope.ActivationParameters)
. The visibilitydefaults
to "private" for final classes, and "protected" for non-final classes.- Default:
- com.exedio.cope.instrument.Visibility.DEFAULT
-
-