Home
last modified time | relevance | path

Searched refs:replaceWith (Results 1 – 2 of 2) sorted by relevance

/lint-checks/integration-tests/src/main/java/replacewith/
DReplaceWithUsageKotlin.kt27 @Deprecated(message = "Use [otherProperty] instead", replaceWith = ReplaceWith("otherProperty"))
32 replaceWith = ReplaceWith("otherBooleanProperty")
36 @get:Deprecated(message = "Use [getMethod] instead", replaceWith = ReplaceWith("getMethod"))
39 replaceWith = ReplaceWith("setMethod(value)")
44 @Deprecated(message = "Use [getMethod] instead", replaceWith = ReplaceWith("getMethod"))
50 replaceWith = ReplaceWith("setMethod(value)")
58 replaceWith = ReplaceWith("otherProperty = arg")
64 @Deprecated(message = "Use [otherProperty] instead", replaceWith = ReplaceWith("otherProperty"))
84 replaceWith = ReplaceWith("StringBuffer(param)", "java.lang.StringBuffer")
97 replaceWith = ReplaceWith("ReplaceWithUsageKotlin.obtain(param)")
/lint-checks/src/main/java/androidx/build/lint/
DReplaceWithDetector.kt89 val replaceWith = in <lambda>() constant
93 replaceWith.valueArguments.getOrNull(0)?.parseLiteral() ?: return in <lambda>()
95 replaceWith.valueArguments.getOrNull(1)?.parseVarargLiteral() ?: emptyList() in <lambda>()