Package io.ktor.validator

Types

AccessFlags

data class AccessFlags

ClassBinarySignature

data class ClassBinarySignature

ClassVisibility

class ClassVisibility

FieldBinarySignature

data class FieldBinarySignature : MemberBinarySignature

MemberBinarySignature

interface MemberBinarySignature

MemberVisibility

data class MemberVisibility

MethodBinarySignature

data class MethodBinarySignature : MemberBinarySignature

Extensions for External Classes

java.util.jar.JarFile

kotlin.collections.List

kotlin.sequences.Sequence

kotlinx.metadata.jvm.KotlinClassMetadata

org.objectweb.asm.tree.AnnotationNode

org.objectweb.asm.tree.ClassNode

org.objectweb.asm.tree.FieldNode

org.objectweb.asm.tree.MethodNode

Properties

ACCESS_NAMES

val ACCESS_NAMES: Map<Int, String>

MEMBER_SORT_ORDER

val MEMBER_SORT_ORDER: Comparator<MemberBinarySignature>

publishedApiAnnotationName

const val publishedApiAnnotationName: String

Functions

findMember

fun ClassVisibility.findMember(
    signature: JvmMemberSignature
): MemberVisibility?

getBinaryAPI

fun getBinaryAPI(
    jar: JarFile,
    visibilityFilter: (String) -> Boolean = { true }
): List<ClassBinarySignature>
fun getBinaryAPI(
    classStreams: Sequence<InputStream>,
    visibilityFilter: (String) -> Boolean = { true }
): List<ClassBinarySignature>

isFinal

fun isFinal(access: Int): Boolean

isProtected

fun isProtected(access: Int): Boolean

isPublic

fun isPublic(access: Int): Boolean
fun ClassVisibility.isPublic(
    isPublishedApi: Boolean
): Boolean
fun MemberVisibility.isPublic(
    isPublishedApi: Boolean
): Boolean

isStatic

fun isStatic(access: Int): Boolean

isSynthetic

fun isSynthetic(access: Int): Boolean

main

fun main(args: Array<String>): Unit