Updated on 2026-08-14
This commit is contained in:
parent
f32528d653
commit
7de4f3ab1f
2 changed files with 352 additions and 0 deletions
|
|
@ -0,0 +1,32 @@
|
|||
package com.tangem.utils.annotations
|
||||
|
||||
/**
|
||||
* Marks code that should be removed when the specified feature toggle is cleaned up
|
||||
* by the `/cleanup-feature-toggles` skill.
|
||||
*
|
||||
* @property toggleName the name of the feature toggle (e.g., "GASLESS_APPROVAL_ENABLED")
|
||||
* @property description optional description of what should be done during cleanup
|
||||
*
|
||||
[REDACTED_AUTHOR]
|
||||
*/
|
||||
@Target(
|
||||
AnnotationTarget.CLASS,
|
||||
AnnotationTarget.ANNOTATION_CLASS,
|
||||
AnnotationTarget.PROPERTY,
|
||||
AnnotationTarget.FIELD,
|
||||
AnnotationTarget.LOCAL_VARIABLE,
|
||||
AnnotationTarget.VALUE_PARAMETER,
|
||||
AnnotationTarget.CONSTRUCTOR,
|
||||
AnnotationTarget.FUNCTION,
|
||||
AnnotationTarget.PROPERTY_GETTER,
|
||||
AnnotationTarget.PROPERTY_SETTER,
|
||||
AnnotationTarget.TYPE,
|
||||
AnnotationTarget.EXPRESSION,
|
||||
AnnotationTarget.FILE,
|
||||
AnnotationTarget.TYPEALIAS,
|
||||
)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
annotation class RemoveWithToggle(
|
||||
val toggleName: String,
|
||||
val description: String = "",
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue