text: //
  //  Generated by the J2ObjC translator.  DO NOT EDIT!
  //  source: android/libcore/luni/src/main/java/java/lang/ClassCastException.java
  //
  
  #include "../../J2ObjC_header.h"
  
  #pragma push_macro("INCLUDE_ALL_JavaLangClassCastException")
  #ifdef RESTRICT_JavaLangClassCastException
  #define INCLUDE_ALL_JavaLangClassCastException 0
  #else
  #define INCLUDE_ALL_JavaLangClassCastException 1
  #endif
  #undef RESTRICT_JavaLangClassCastException
  
  #pragma clang diagnostic push
  #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
  
  #if !defined (JavaLangClassCastException_) && (INCLUDE_ALL_JavaLangClassCastException || defined(INCLUDE_JavaLangClassCastException))
  #define JavaLangClassCastException_
  
  #define RESTRICT_JavaLangRuntimeException 1
  #define INCLUDE_JavaLangRuntimeException 1
  #include "../../java/lang/RuntimeException.h"
  
  /*!
   @brief Thrown when a program attempts to cast a an object to a type with which it is
   not compatible.
   */
  @interface JavaLangClassCastException : JavaLangRuntimeException
  
  #pragma mark Public
  
  /*!
   @brief Constructs a new <code>ClassCastException</code> that includes the current
   stack trace.
   */
  - (instancetype)init;
  
  /*!
   @brief Constructs a new <code>ClassCastException</code> with the current stack trace
   and the specified detail message.
   @param detailMessage
   the detail message for this exception.
   */
  - (instancetype)initWithNSString:(NSString *)detailMessage;
  
  @end
  
  J2OBJC_EMPTY_STATIC_INIT(JavaLangClassCastException)
  
  FOUNDATION_EXPORT void JavaLangClassCastException_init(JavaLangClassCastException *self);
  
  FOUNDATION_EXPORT JavaLangClassCastException *new_JavaLangClassCastException_init() NS_RETURNS_RETAINED;
  
  FOUNDATION_EXPORT JavaLangClassCastException *create_JavaLangClassCastException_init();
  
  FOUNDATION_EXPORT void JavaLangClassCastException_initWithNSString_(JavaLangClassCastException *self, NSString *detailMessage);
  
  FOUNDATION_EXPORT JavaLangClassCastException *new_JavaLangClassCastException_initWithNSString_(NSString *detailMessage) NS_RETURNS_RETAINED;
  
  FOUNDATION_EXPORT JavaLangClassCastException *create_JavaLangClassCastException_initWithNSString_(NSString *detailMessage);
  
  J2OBJC_TYPE_LITERAL_HEADER(JavaLangClassCastException)
  
  #endif
  
  
  #pragma clang diagnostic pop
  #pragma pop_macro("INCLUDE_ALL_JavaLangClassCastException")
  