androidjni.getsuperclass 获取超类

2014-12-30 20:18| 发布者: 杨炎| 查看: 1436| 评论: 0|原作者: 蛮牛|来自: yzc88亚洲城脚本manual

摘要: androidjni.getsuperclass 获取超类static functiongetsuperclass(clazz: intptr) : intptrdescription描述if clazz represents any class other than the class object, then this function returns the object tha ...

androidjni.getsuperclass 获取超类

static functiongetsuperclass(clazz: intptr) : intptr

description描述

if clazz represents any class other than the class object, then this function returns the object that represents the superclass of the class specified by clazz.

如果 clazz 代表类而非类 object,则该函数返回由 clazz 所指定的类的超类。

if clazz specifies the class object, or clazz represents an interface, this function returns null.

如果 clazz 指定类 object,或代表某个接口,则该函数返回 null。

参见:java native interface specification (oracle)

文章点评