Package com.exedio.cope.instrument
Annotation Type Wrapper
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanMakes the generated wrapper methodfinal.booleanbooleanAppends "Internal" to the name of the generated wrapper method.booleanAnnotates the generated wrapper method with @Override.Class<?>[]Overrides the visibility of the generated wrapper method. -
Field Summary
Fields
-
Field Details
-
ALL_WRAPS
- See Also:
-
-
Element Details
-
-
parameters
Class<?>[] parametersIf several wrapper methods with the samewrap()get generated, but yourWrapperannotation should only affect one of them, it can be restricted by setting this field to the parameter list of the method.- Default:
- {com.exedio.cope.instrument.WrapperParametersDefault.class}
-
visibility
Visibility visibilityOverrides the visibility of the generated wrapper method. The visibilitydefaultsto the visibility of the feature, unlessinternalis set.- Default:
- DEFAULT
-
internal
boolean internalAppends "Internal" to the name of the generated wrapper method. So for instancegetNamebecomesgetNameInternal. Additionally changes the visibility toprivate, ifvisibilityis set toDEFAULT.This is typically needed if you want to provide your own implementation of the generated method, but you still want to call the generated code.
- Default:
- false
-
booleanAsIs
boolean booleanAsIs- Default:
- false
-
asFinal
boolean asFinalMakes the generated wrapper methodfinal.- Default:
- true
-
override
boolean overrideAnnotates the generated wrapper method with @Override.- Default:
- false
-