-  
       
- All Superinterfaces:
 -  
         
AnnotatedConstruct,TypeMirror 
public interface IntersectionType extends TypeMirror
表示交集类型。可以在程序中隐式或显式声明交集类型。 例如,类型参数
<T extends Number & Runnable>是(隐式)交集类型。 这由IntersectionType表示,其中Number和Runnable作为其界限。- Implementation Note:
 - 
          在参考实现中,使用 
         
IntersectionType来对转换表达式的显式目标类型进行建模。 - 从以下版本开始:
 - 1.8
 
 
-  
        
       
-  
             
方法摘要
所有方法 实例方法 抽象方法 变量和类型 方法 描述 List<? extends TypeMirror>getBounds()返回包含此交集类型的边界。-  
               
声明方法的接口 javax.lang.model.AnnotatedConstruct
getAnnotation, getAnnotationMirrors, getAnnotationsByType 
 -  
               
 
 -  
             
 
-  
        
       
-  
             
方法详细信息
-  
getBounds
List<? extends TypeMirror> getBounds()
返回包含此交集类型的边界。- 结果
 - the bounds of this intersection type
 
 
 -  
 
 -