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

name.remal.java.lang.reflect.Member.kt Maven / Gradle / Ivy

package name.remal

import java.lang.reflect.Member
import java.lang.reflect.Modifier

val Member.isPublic get() = Modifier.isPublic(modifiers)
val Member.isProtected get() = Modifier.isProtected(modifiers)
val Member.isPackagePrivate get() = !Modifier.isPublic(modifiers) && !Modifier.isProtected(modifiers) && !Modifier.isPrivate(modifiers)
val Member.isPrivate get() = Modifier.isPrivate(modifiers)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy