METHOD_0 ( ) { java . lang . Object result = com . orientechnologies . orient . core . metadata . schema . IDENT_0 . convert ( FLOAT_0 , com . orientechnologies . orient . core . metadata . schema . IDENT_1 . class ) ; "<AssertPlaceHolder>" ; } convert ( java . lang . Object , java . lang . Class ) { if ( iValue == null ) return null ; if ( IDENT_2 == null ) return iValue ; if ( iValue . getClass ( ) . equals ( IDENT_2 ) ) return iValue ; if ( IDENT_2 . METHOD_1 ( iValue . getClass ( ) ) ) return iValue ; try { if ( ( iValue instanceof com . orientechnologies . common . types . IDENT_3 ) && ( IDENT_2 . METHOD_1 ( byte [ ] . class ) ) ) return ( ( com . orientechnologies . common . types . IDENT_3 ) ( iValue ) ) . toByteArray ( ) ; else if ( byte [ ] . class . METHOD_1 ( IDENT_2 ) ) { return com . orientechnologies . orient . core . serialization . serializer . IDENT_4 . METHOD_2 ( iValue ) ; } else if ( byte [ ] . class . METHOD_1 ( iValue . getClass ( ) ) ) { return iValue ; } else if ( IDENT_2 . METHOD_3 ( ) ) { if ( iValue instanceof java . lang . IDENT_5 ) return ( ( java . lang . Class < java . lang . IDENT_6 > ) ( IDENT_2 ) ) . METHOD_4 ( ) [ ( ( java . lang . IDENT_5 ) ( iValue ) ) . METHOD_5 ( ) ] ; return java . lang . IDENT_6 . valueOf ( ( ( java . lang . Class < java . lang . IDENT_6 > ) ( IDENT_2 ) ) , iValue . toString ( ) ) ; } else if ( ( IDENT_2 . equals ( IDENT_7 . IDENT_8 ) ) || ( IDENT_2 . equals ( com . orientechnologies . orient . core . metadata . schema . IDENT_7 . class ) ) ) { if ( iValue instanceof java . lang . IDENT_7 ) return iValue ; else if ( iValue instanceof java . lang . String ) return java . lang . IDENT_7 . METHOD_6 ( ( ( java . lang . String ) ( iValue ) ) ) ; else return ( ( java . lang . IDENT_5 ) ( iValue ) ) . METHOD_7 ( ) ; } else if ( ( IDENT_2 . equals ( IDENT_9 . IDENT_8 ) ) || ( IDENT_2 . equals ( com . orientechnologies . orient . core . metadata . schema . IDENT_9 . class ) ) ) { if ( iValue instanceof java . lang . IDENT_9 ) return iValue ; else if ( iValue instanceof java . lang . String ) return java . lang . IDENT_9 . METHOD_8 ( ( ( java . lang . String ) ( iValue ) ) ) ; else return ( ( java . lang . IDENT_5 ) ( iValue ) ) . METHOD_9 ( ) ; } else if ( ( IDENT_2 . equals ( Integer . IDENT_8 ) ) || ( IDENT_2 . equals ( com . orientechnologies . orient . core . metadata . schema . Integer . class ) ) ) { if ( iValue instanceof java . lang . Integer ) return iValue ; else if ( iValue instanceof java . lang . String ) { if ( iValue . toString ( ) . equals ( "" ) ) { return null ; } return java . lang . Integer . METHOD_10 ( ( ( java . lang . String ) ( iValue ) ) ) ; } else return ( ( java . lang . IDENT_5 ) ( iValue ) ) . METHOD_5 ( ) ; } else if ( ( IDENT_2 . equals ( Long . IDENT_8 ) ) || ( IDENT_2 . equals ( com . orientechnologies . orient . core . metadata . schema . Long . class ) ) ) { if ( iValue instanceof java . lang . Long ) return iValue ; else if ( iValue instanceof java . lang . String ) return java . lang . Long . METHOD_11 ( ( ( java . lang . String ) ( iValue ) ) ) ; else if ( iValue instanceof java . util . Date ) return ( ( java . util . Date ) ( iValue ) ) . getTime ( ) ; else return ( ( java . lang . IDENT_5 ) ( iValue ) ) . METHOD_12 ( ) ; } else if ( ( IDENT_2 . equals ( IDENT_1 . IDENT_8 ) ) || ( IDENT_2 . equals ( com . orientechnologies . orient . core . metadata . schema . IDENT_1 . class ) ) ) { if ( iValue instanceof java . lang . IDENT_1 ) return iValue ; else if ( iValue instanceof java . lang . String ) return java . lang . IDENT_1 . METHOD_13 ( ( ( java . lang . String ) ( iValue ) ) ) ; else return ( ( java . lang . IDENT_5 ) ( iValue ) ) . METHOD_14 ( ) ; } else if ( IDENT_2 . equals ( java . math . BigDecimal . class ) ) { if ( iValue instanceof java . lang . String ) return new java . math . BigDecimal ( ( ( java . lang . String ) ( iValue ) ) ) ; else if ( iValue instanceof java . lang . IDENT_5 ) return new java . math . BigDecimal ( iValue . toString ( ) ) ; } else if ( ( IDENT_2 . equals ( Double . IDENT_8 ) ) || ( IDENT_2 . equals ( com . orientechnologies . orient . core . metadata . schema . Double . class ) ) ) { if ( iValue instanceof java . lang . Double ) return iValue ; else if ( iValue instanceof java . lang . String ) return java . lang . Double . METHOD_15 ( ( ( java . lang . String ) ( iValue ) ) ) ; else if ( iValue instanceof java . lang . IDENT_1 ) return java . lang . Double . METHOD_15 ( ( ( java . lang . String ) ( iValue . toString ( ) ) ) ) ; else return ( ( java . lang . IDENT_5 ) ( iValue ) ) . METHOD_16 ( ) ; } else if ( ( IDENT_2 . equals ( Boolean . IDENT_8 ) ) || ( IDENT_2 . equals ( com . orientechnologies . orient . core . metadata . schema . Boolean . class ) ) ) { if ( iValue instanceof java . lang . Boolean ) return ( ( java . lang . Boolean ) ( iValue ) ) . METHOD_17 ( ) ; else if ( iValue instanceof java . lang . String ) { if ( ( ( java . lang . String ) ( iValue ) ) . equalsIgnoreCase ( STRING_0 ) ) return Boolean . IDENT_10 ; else if ( ( ( java . lang . String ) ( iValue ) ) . equalsIgnoreCase ( STRING_1 ) ) return Boolean . IDENT_11 ; throw new java . lang . IllegalArgumentException ( ( ( STRING_2 + iValue ) + STRING_3 ) ) ; } else if ( iValue instanceof java . lang . IDENT_5 ) return ( ( ( java . lang . IDENT_5 ) ( iValue ) ) . METHOD_5 ( ) ) != 0 ; } else if ( java . util . Set . class . METHOD_1 ( IDENT_2 ) ) { if ( iValue instanceof java . util . Collection < ? > ) { final java . util . Set < java . lang . Object > set = new java . util . HashSet < java . lang . Object > ( ) ; set . addAll ( ( ( java . util . Collection < ? extends java . lang . Object > ) ( iValue ) ) ) ; return set ; } else { return java . util . Collections . METHOD_18 ( iValue ) ; } } else if ( java . util . List . class . METHOD_1 ( IDENT_2 ) ) { if ( iValue instanceof java . util . Collection < ? > ) { final java . util . List < java . lang . Object > list = new java . util . ArrayList < java . lang . Object > ( ) ; list . addAll ( ( ( java . util . Collection < ? extends java . lang . Object > ) ( iValue ) ) ) ; return list ; } else { return java . util . Collections . singletonList ( iValue ) ; } } else if ( java . util . Collection . class . equals ( IDENT_2 ) ) { if ( iValue instanceof java . util . Collection < ? > ) { final java . util . List < java . lang . Object > set = new java . util . ArrayList < java . lang . Object > ( ) ; set . addAll ( ( ( java . util . Collection < ? extends java . lang . Object > ) ( iValue ) ) ) ; return set ; } else { return java . util . Collections . METHOD_18 ( iValue ) ; } } else if ( IDENT_2 . equals ( java . util . Date . class ) ) { if ( iValue instanceof java . lang . IDENT_5 ) return new java . util . Date ( ( ( java . lang . IDENT_5 ) ( iValue ) ) . METHOD_12 ( ) ) ; if ( iValue instanceof java . lang . String ) { if ( com . orientechnologies . common . io . IDENT_12 . METHOD_19 ( iValue . toString ( ) ) ) return new java . util . Date ( java . lang . Long . METHOD_11 ( iValue . toString ( ) ) ) ; try { return com . orientechnologies . orient . core . db . IDENT_13 . instance ( ) . get ( ) . METHOD_20 ( ) . METHOD_21 ( ) . METHOD_22 ( ) . parse ( ( ( java . lang . String ) ( iValue ) ) ) ; } catch ( java . text . IDENT_14 IDENT_15 ) { return com . orientechnologies . orient . core . db . IDENT_13 . instance ( ) . get ( ) . METHOD_20 ( ) . METHOD_21 ( ) . METHOD_23 ( ) . parse ( ( ( java . lang . String ) ( iValue ) ) ) ; } } } else if ( IDENT_2 . equals ( java . lang . String . class ) ) { if ( ( ( iValue instanceof java . util . Collection ) && ( ( ( ( java . util . Collection ) ( iValue ) ) . size ( ) ) == 1 ) ) && ( ( ( ( java . util . Collection ) ( iValue ) ) . iterator ( ) . next ( ) ) instanceof java . lang . String ) ) { return ( ( java . util . Collection ) ( iValue ) ) . iterator ( ) . next ( ) ; } return iValue . toString ( ) ; } else if ( com . orientechnologies . orient . core . db . record . IDENT_16 . class . METHOD_1 ( IDENT_2 ) ) { if ( com . orientechnologies . common . collection . IDENT_17 . METHOD_24 ( iValue ) ) { java . util . List < com . orientechnologies . orient . core . db . record . IDENT_16 > result = new java . util . ArrayList < com . orientechnologies . orient . core . db . record . IDENT_16 > ( ) ; for ( java . lang . Object o : com . orientechnologies . common . collection . IDENT_17 . METHOD_25 ( iValue ) ) { if ( o instanceof com . orientechnologies . orient . core . db . record . IDENT_16 ) { result . add ( ( ( com . orientechnologies . orient . core . db . record . IDENT_16 ) ( o ) ) ) ; } else if ( o instanceof java . lang . String ) { try { result . add ( new com . orientechnologies . orient . core . id . METHOD_26 ( iValue . toString ( ) ) ) ; } catch ( java . lang . Exception e ) { com . orientechnologies . common . log . IDENT_18 . instance ( ) . debug ( com . orientechnologies . orient . core . metadata . schema . IDENT_0 . class , STRING_4 , e , iValue , IDENT_2 ) ; } } } return result ; } else if ( iValue instanceof java . lang . String ) { try { return new com . orientechnologies . orient . core . id . METHOD_26 ( ( ( java . lang . String ) ( iValue ) ) ) ; } catch ( java . lang . Exception e ) { com . orientechnologies . common . log . IDENT_18 . instance ( ) . debug ( com . orientechnologies . orient . core . metadata . schema . IDENT_0 . class , STRING_4 , e , iValue , IDENT_2 ) ; } } } } catch ( java . lang . IllegalArgumentException e ) { throw e ; } catch ( java . lang . Exception e ) { if ( ( ( iValue instanceof java . util . Collection ) && ( ( ( ( java . util . Collection ) ( iValue ) ) . size ( ) ) == 1 ) ) && ( ! ( java . util . Collection . class . METHOD_1 ( IDENT_2 ) ) ) ) { return com . orientechnologies . orient . core . metadata . schema . IDENT_0 . convert ( ( ( java . util . Collection ) ( iValue ) ) . iterator ( ) . next ( ) , IDENT_2 ) ; } else if ( ( ( iValue instanceof com . orientechnologies . orient . core . sql . executor . IDENT_19 ) && ( ( ( ( com . orientechnologies . orient . core . sql . executor . IDENT_19 ) ( iValue ) ) . METHOD_27 ( ) . size ( ) ) == 1 ) ) && ( ! ( com . orientechnologies . orient . core . sql . executor . IDENT_19 . class . METHOD_1 ( IDENT_2 ) ) ) ) { return com . orientechnologies . orient . core . metadata . schema . IDENT_0 . convert ( ( ( com . orientechnologies . orient . core . sql . executor . IDENT_19 ) ( iValue ) ) . getProperty ( ( ( com . orientechnologies . orient . core . sql . executor . IDENT_19 ) ( iValue ) ) . METHOD_27 ( ) . iterator ( ) . next ( ) ) , IDENT_2 ) ; } else if ( ( ( iValue instanceof com . orientechnologies . orient . core . record . IDENT_20 ) && ( ( ( ( com . orientechnologies . orient . core . record . IDENT_20 ) ( iValue ) ) . METHOD_27 ( ) . size ( ) ) == 1 ) ) && ( ! ( com . orientechnologies . orient . core . record . IDENT_20 . class . METHOD_1 ( IDENT_2 ) ) ) ) { return com . orientechnologies . orient . core . metadata . schema . IDENT_0 . convert ( ( ( com . orientechnologies . orient . core . record . IDENT_20 ) ( iValue ) ) . getProperty ( ( ( com . orientechnologies . orient . core . record . IDENT_20 ) ( iValue ) ) . METHOD_27 ( ) . iterator ( ) . next ( ) ) , IDENT_2 ) ; } com . orientechnologies . common . log . IDENT_18 . instance ( ) . debug ( com . orientechnologies . orient . core . metadata . schema . IDENT_0 . class , STRING_4 , e , iValue , IDENT_2 ) ; return null ; } return iValue ; }
org . junit . Assert . assertEquals ( result , FLOAT_0 )