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, toString
public 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.