Class Inspector
A basic interface for looking up JVM information about a given Class.
interface ClassInspector
Content copied to clipboard
Functions
containerData
Link copied to clipboard
abstract fun containerData(declarationContainer: ImmutableKmDeclarationContainer, className: ClassName, parentClassName: ClassName?): ContainerData
Content copied to clipboard
declarationContainerFor
Link copied to clipboard
abstract fun declarationContainerFor(className: ClassName): ImmutableKmDeclarationContainer
Content copied to clipboard
enumEntry
Link copied to clipboard
abstract fun enumEntry(enumClassName: ClassName, memberName: String): EnumEntryData
Content copied to clipboard
equals
Link copied to clipboard
isInterface
Link copied to clipboard
methodExists
Link copied to clipboard
abstract fun methodExists(className: ClassName, methodSignature: JvmMethodSignature): Boolean
Content copied to clipboard
Properties
supportsNonRuntimeRetainedAnnotations
Link copied to clipboard
Indicates if this ClassInspector supports AnnotationRetention.RUNTIME-retained annotations. This is used to indicate if manual inference of certain non-RUNTIME-retained annotations should be done, such as JvmName.
Extensions
classFor
Link copied to clipboard
containerData
Link copied to clipboard
fun ClassInspector.containerData(className: ClassName, parentClassName: ClassName?): ContainerData
Content copied to clipboard