[FIR] Clean up unused dummy code
This commit is contained in:
committed by
Space Team
parent
44b3c66ad7
commit
d574d859cb
-17
@@ -573,20 +573,3 @@ open class FirTypeResolveTransformer(
|
|||||||
private fun annotationShouldBeMovedToField(allowedTargets: Set<AnnotationUseSiteTarget>): Boolean =
|
private fun annotationShouldBeMovedToField(allowedTargets: Set<AnnotationUseSiteTarget>): Boolean =
|
||||||
(FIELD in allowedTargets || PROPERTY_DELEGATE_FIELD in allowedTargets) && PROPERTY !in allowedTargets
|
(FIELD in allowedTargets || PROPERTY_DELEGATE_FIELD in allowedTargets) && PROPERTY !in allowedTargets
|
||||||
}
|
}
|
||||||
|
|
||||||
annotation class NoTarget
|
|
||||||
|
|
||||||
@Target(AnnotationTarget.VALUE_PARAMETER)
|
|
||||||
annotation class Param
|
|
||||||
|
|
||||||
@Target(AnnotationTarget.PROPERTY)
|
|
||||||
annotation class Prop
|
|
||||||
|
|
||||||
@Target(AnnotationTarget.PROPERTY, AnnotationTarget.VALUE_PARAMETER)
|
|
||||||
annotation class Both
|
|
||||||
|
|
||||||
data class Foo(
|
|
||||||
@NoTarget @Param @Prop @Both val p1: Int,
|
|
||||||
@param:NoTarget @param:Both val p2: String,
|
|
||||||
@property:NoTarget @property:Both val p3: Boolean,
|
|
||||||
)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user