Class CheckedExceptionProbe


  • final class CheckedExceptionProbe
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private javax.lang.model.type.DeclaredType exceptionType  
      private javax.lang.model.type.DeclaredType runtimeExceptionType  
      private javax.lang.model.util.Types types  
    • Constructor Summary

      Constructors 
      Constructor Description
      CheckedExceptionProbe​(javax.lang.model.util.Types types, javax.lang.model.util.Elements elements)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private static javax.lang.model.type.DeclaredType getTypeMirror​(javax.lang.model.util.Types types, javax.lang.model.util.Elements elements, java.lang.Class<?> reflected)  
      (package private) boolean isCheckedException​(javax.lang.model.type.TypeMirror throwable)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • types

        private final javax.lang.model.util.Types types
      • exceptionType

        private final javax.lang.model.type.DeclaredType exceptionType
      • runtimeExceptionType

        private final javax.lang.model.type.DeclaredType runtimeExceptionType
    • Constructor Detail

      • CheckedExceptionProbe

        CheckedExceptionProbe​(javax.lang.model.util.Types types,
                              javax.lang.model.util.Elements elements)
    • Method Detail

      • getTypeMirror

        private static javax.lang.model.type.DeclaredType getTypeMirror​(javax.lang.model.util.Types types,
                                                                        javax.lang.model.util.Elements elements,
                                                                        java.lang.Class<?> reflected)
      • isCheckedException

        boolean isCheckedException​(javax.lang.model.type.TypeMirror throwable)