@Retention(value=SOURCE)
@Target(value={TYPE,METHOD,CONSTRUCTOR,FIELD})
public @interface DuplicateCode
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
comment
Optional comment to explain more about the duplication, e.g., where the original
code is or why this duplication exists.
|
java.lang.String |
reference
A reference to the original occurrence of the code to help in tracking and managing duplicates.
|