AnnotatedConstruct, TypeMirrorpublic interface UnionType extends TypeMirror
RELEASE_7 source version, union types can appear as the type
of a multi-catch exception parameter.| 限定符和类型 | 方法 | 说明 |
|---|---|---|
List<? extends TypeMirror> |
getAlternatives() |
Return the alternatives comprising this union type.
|
getAnnotation, getAnnotationMirrors, getAnnotationsByTypeList<? extends TypeMirror> getAlternatives()