Annotation Type DuplicateCode
-
@Retention(SOURCE) @Target({TYPE,METHOD,CONSTRUCTOR,FIELD}) public @interface DuplicateCodeIndicates that the annotated class, method, constructor, or field is a duplication of another part of the code. This can be used to mark areas of the codebase that require refactoring or special attention.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringcommentOptional comment to explain more about the duplication, e.g., where the original code is or why this duplication exists.java.lang.StringreferenceA reference to the original occurrence of the code to help in tracking and managing duplicates.
-