All Downloads are FREE. Search and download functionalities are using the official Maven repository.

app.softwork.kobol.plugins.fir.renaming.KeepNames.kt Maven / Gradle / Ivy

The newest version!
package app.softwork.kobol.plugins.fir.renaming

import app.softwork.kobol.fir.FirPluginBeforePhase
import app.softwork.serviceloader.ServiceLoader

@ServiceLoader(FirPluginBeforePhase::class)
public class KeepNames : Rename(
    functions = {
        keepName()
    },
    variables = {
        keepName()
    },
    classes = {
        keepName()
    },
)

private fun String.keepName() = replace("-", "_")




© 2015 - 2025 Weber Informatics LLC | Privacy Policy