ClassData

Properties

Link copied to clipboard

Get declared annotations.

----------------

Link copied to clipboard
Link copied to clipboard

Get declared fields count

----------------

Link copied to clipboard

Get declared fields

----------------

Link copied to clipboard

Get implemented interfaces count

----------------

Link copied to clipboard

Get implemented interfaces

----------------

Link copied to clipboard
Link copied to clipboard

Get declared methods count

----------------

Link copied to clipboard

Get declared methods (include static block: <clinit>, and constructor: <init>)

----------------

Link copied to clipboard
Link copied to clipboard

Full class name

----------------

Link copied to clipboard

Simple class name

----------------

Link copied to clipboard
Link copied to clipboard

Get super's ClassData, if super class not defined in dex, return null

----------------

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
inline fun findField(init: FindField.() -> Unit): FieldDataList

Search in this class with multiple conditions.

----------------

Link copied to clipboard
inline fun findMethod(init: FindMethod.() -> Unit): MethodDataList

Search in this class with multiple conditions.

----------------

Link copied to clipboard
Link copied to clipboard
fun getInstance(classLoader: ClassLoader): Class<*>

Load this class from ClassLoader

----------------

Link copied to clipboard

Load implemented interfaces from ClassLoader

----------------

Link copied to clipboard
fun getSuperClassInstance(classLoader: ClassLoader): Class<*>?

Load super class from ClassLoader

----------------

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Convert to DexClass

----------------

Link copied to clipboard
open override fun toString(): String