|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=CONSTRUCTOR) public @interface CodecConstructor
An annotation type for marking the constructor of a codec class that should be used to construct new objects of this class from the codec manager. If the codec class defines only one public constructor, annotating it with CodecConstructor is optional. However, if your codec class defines multiple public constructors (e.g. because it was automatically generated by JavaCC), then use this annotation to specify the relevant one.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |