public static boolean isJdk15 ( ) { if ( _jdkChecked ) return _jdk15 ; try { Class . forName ( "java.lang.annotation.Annotation" ) ; _jdk15 = true ; } catch ( Exception e ) { /* ignore */ } _jdkChecked = true ; return _jdk15 ; }
Checks if the current jvm is java language > = 1 . 5 compatible .