com.autonomousapps.internal.ClassNames.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dependency-analysis-gradle-plugin Show documentation
Show all versions of dependency-analysis-gradle-plugin Show documentation
Analyzes dependency usage in Android and JVM projects
// Copyright (c) 2024. Tony Robalik.
// SPDX-License-Identifier: Apache-2.0
package com.autonomousapps.internal
internal object ClassNames {
fun canonicalize(className: String): String = className.replace('/', '.')
fun isEnum(superClassName: String?): Boolean = superClassName == "java/lang/Enum"
fun isSecurityProvider(superClassName: String?): Boolean = superClassName == "java/security/Provider"
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy