public class MirroredTypesException extends RuntimeException
类对象都对应一个
TypeMirror。
MirroredTypeException,
Element.getAnnotation(Class),
Serialized Form
| Constructor and Description |
|---|
MirroredTypesException(List<? extends TypeMirror> types)
构建一个新的mirroredtypesexception指定类型。
|
| Modifier and Type | Method and Description |
|---|---|
List<? extends TypeMirror> |
getTypeMirrors()
返回对应于正在访问的类型的类型反射镜。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MirroredTypesException(List<? extends TypeMirror> types)
types访问的类型
public List<? extends TypeMirror> getTypeMirrors()
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.