|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Retention(value=CLASS) @Target(value={METHOD,CONSTRUCTOR}) public @interface Helper
The Helper
-annotation is a marker for
non-public methods. When a method is marked
as helper it is allowed to violate
class-invariants (see Invariant
).
Note that all constructors of abstract classes
are helper-methods by default. However, adding
the helper annotation won't harm.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |