public class MirroredTypeException extends MirroredTypesException
类对应于对象TypeMirror 。
MirroredTypesException , Element.getAnnotation(Class) , Serialized Form
| Constructor and Description |
|---|
MirroredTypeException(TypeMirror type)
为指定的类型构造一个新的MirroredTypeException。
|
| Modifier and Type | Method and Description |
|---|---|
TypeMirror |
getTypeMirror()
返回与正在访问的类型相对应的类型镜像。
|
getTypeMirrorsaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MirroredTypeException(TypeMirror type)
type - 正在访问的类型
public TypeMirror getTypeMirror()
null如果不可用
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.