Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Commit 9569f7f

Browse files
committed
プロパティとゲッターのaliasはそれぞれ別アノテーションで扱うように修正
1 parent 41487ba commit 9569f7f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package com.wrongwrong.mapk.annotations
2+
3+
@Target(AnnotationTarget.PROPERTY)
4+
@Retention(AnnotationRetention.RUNTIME)
5+
annotation class KGetterAlias(val value: String)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
package com.wrongwrong.mapk.annotations
22

3-
@Target(AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.PROPERTY_GETTER)
3+
@Target(AnnotationTarget.VALUE_PARAMETER)
44
@Retention(AnnotationRetention.RUNTIME)
55
annotation class KPropertyAlias(val value: String)

0 commit comments

Comments
 (0)