Forbid deprecated on field
This commit is contained in:
@@ -36,7 +36,7 @@ public annotation(mustBeDocumented = true) class data
|
|||||||
* the deprecated API usage.
|
* the deprecated API usage.
|
||||||
*/
|
*/
|
||||||
target(CLASSIFIER, FUNCTION, PROPERTY, ANNOTATION_CLASS, CONSTRUCTOR, PROPERTY_SETTER, PROPERTY_GETTER,
|
target(CLASSIFIER, FUNCTION, PROPERTY, ANNOTATION_CLASS, CONSTRUCTOR, PROPERTY_SETTER, PROPERTY_GETTER,
|
||||||
LOCAL_VARIABLE, FIELD, VALUE_PARAMETER)
|
LOCAL_VARIABLE, VALUE_PARAMETER)
|
||||||
public annotation(mustBeDocumented = true) class deprecated(val value: String, val replaceWith: ReplaceWith = ReplaceWith(""))
|
public annotation(mustBeDocumented = true) class deprecated(val value: String, val replaceWith: ReplaceWith = ReplaceWith(""))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user