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

Commit 0c81260

Browse files
committed
不要になったため削除
1 parent 364e4d0 commit 0c81260

File tree

1 file changed

+0
-6
lines changed
  • src/main/kotlin/com/wrongwrong/mapk/core

1 file changed

+0
-6
lines changed

src/main/kotlin/com/wrongwrong/mapk/core/KMapper.kt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,6 @@ private fun Collection<KProperty1<*, *>>.filterTargets(): Collection<KProperty1<
115115
}
116116
}
117117

118-
private fun KProperty1<*, *>.getAccessibleGetter(): KProperty1.Getter<*, *> {
119-
// アクセス制限の有るクラスではpublicなプロパティでもゲッターにアクセスできない場合が有るため、アクセス可能にして使う
120-
getter.isAccessible = true
121-
return getter
122-
}
123-
124118
@Suppress("UNCHECKED_CAST")
125119
internal fun <T : Any> getTarget(clazz: KClass<T>): KFunctionForCall<T> {
126120
val factoryConstructor: List<KFunctionForCall<T>> =

0 commit comments

Comments
 (0)