diff --git a/gluecodium/src/main/java/com/here/gluecodium/generator/java/JavaNameRules.kt b/gluecodium/src/main/java/com/here/gluecodium/generator/java/JavaNameRules.kt index 0fabc74d38..e52259494c 100644 --- a/gluecodium/src/main/java/com/here/gluecodium/generator/java/JavaNameRules.kt +++ b/gluecodium/src/main/java/com/here/gluecodium/generator/java/JavaNameRules.kt @@ -24,7 +24,6 @@ import com.here.gluecodium.generator.common.NameRules import com.here.gluecodium.model.lime.LimeAttributeType.JAVA import com.here.gluecodium.model.lime.LimeAttributeValueType.NAME import com.here.gluecodium.model.lime.LimeElement -import com.here.gluecodium.model.lime.LimeLambdaParameter import com.here.gluecodium.model.lime.LimeNamedElement import com.here.gluecodium.model.lime.LimeProperty import com.here.gluecodium.model.lime.LimeTypedElement @@ -40,11 +39,6 @@ internal class JavaNameRules(nameRuleSet: NameRuleSet) : NameRules(nameRuleSet) (limeElement as? LimeProperty)?.let { getPlatformName(it.setter) } ?: super.getSetterName(limeElement) - fun getName( - limeLambdaParameter: LimeLambdaParameter, - index: Int, - ) = limeLambdaParameter.attributes.get(JAVA, NAME) ?: "p$index" - private fun getPlatformName(limeElement: LimeNamedElement?) = limeElement?.attributes?.get(JAVA, NAME) companion object {