IncompleteAnnotationException.AnnotationType 方法

定义

返回具有缺失元素的批注接口的 Class 对象。

[Android.Runtime.Register("annotationType", "()Ljava/lang/Class;", "GetAnnotationTypeHandler")]
public virtual Java.Lang.Class? AnnotationType();
[<Android.Runtime.Register("annotationType", "()Ljava/lang/Class;", "GetAnnotationTypeHandler")>]
abstract member AnnotationType : unit -> Java.Lang.Class
override this.AnnotationType : unit -> Java.Lang.Class

返回

带缺失元素的批注接口的类对象

属性

注解

返回具有缺失元素的批注接口的 Class 对象。

Java文档java.lang.annotation.IncompleteAnnotationException.annotationType()

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于