Buggy code:
static final List < URI > floatTypes = Arrays . asList ( FLOAT , DECIMAL ) ; static final List < URI > shortTypes = Arrays . asList ( SHORT , UNSIGNED_SHORT ) ; static final List < URI > byteTypes = Arrays . asList ( BYTE , UNSIGNED_BYTE ) ; private URI mProperty ; private Object mAccessor ; private DataSource mSource ; private Resource mResource ; public ValueToObject ( final DataSource theSource , Resource theResource , final Object theAccessor , final URI theProp ) { } public Object apply ( final Value theValue ) { } } private static List < Value > asList ( DataSource theSource , Resource theRes ) throws DataSourceException { } private static final MethodFilter METHOD_FILTER = new MethodFilter ( ) { public boolean isHandled ( final Method theMethod ) { } } ; @ SuppressWarnings ( "unchecked" ) private static < T > T getProxyOrDbObject ( Object theAccessor , Class < T > theClass , Object theKey , DataSource theSource ) throws Exception { } public static class ProxyHandler < T > implements MethodHandler { private Proxy < T > mProxy ; private ProxyHandler ( final Proxy < T > theProxy ) { } public Proxy < T > getProxy ( ) { } public Object invoke ( final Object theThis , final Method theMethod , final Method theProxyMethod , final Object [ ] theArgs ) throws Throwable { } } private static String getBNodeConstructQuery ( DataSource theSource , Resource theRes , URI theProperty ) { } public static class AsValueFunction implements Function < Object , Value > { private AccessibleObject mField ; private RdfProperty annotation ; public AsValueFunction ( ) { } public AsValueFunction ( final AccessibleObject theField ) { } public Value apply ( final Object theIn ) { if ( theIn == null ) { return null ; } else if ( ( ! ( EmpireOptions . STRONG_TYPING ) ) && ( BeanReflectUtil . isPrimitive ( theIn ) ) ) { return RdfGenerator . FACTORY . createLiteral ( theIn . toString ( ) ) ; } else if ( Boolean . class . isInstance ( theIn ) ) { return RdfGenerator . FACTORY . createLiteral ( Boolean . class . cast ( theIn ) ) ; } else if ( Integer . class . isInstance ( theIn ) ) { return RdfGenerator . FACTORY . createLiteral ( Integer . class . cast ( theIn ) ) ; } else if ( Long . class . isInstance ( theIn ) ) { return RdfGenerator . FACTORY . createLiteral ( Long . class . cast ( theIn ) ) ; } else if ( Short . class . isInstance ( theIn ) ) { return RdfGenerator . FACTORY . createLiteral ( Short . class . cast ( theIn ) ) ; } else if ( Double . class . isInstance ( theIn ) ) { return RdfGenerator . FACTORY . createLiteral ( Double . class . cast ( theIn ) ) ; } else if ( Float . class . isInstance ( theIn ) ) { return RdfGenerator . FACTORY . createLiteral ( Float . class . cast ( theIn ) ) ; } else if ( Date . class . isInstance ( theIn ) ) { return RdfGenerator . FACTORY . createLiteral ( Dates . datetime ( Date . class . cast ( theIn ) ) , DATETIME ) ; } else if ( String . class . isInstance ( theIn ) ) { if ( ( ( annotation ) != null ) && ( ! ( annotation . language ( ) . equals ( "" ) ) ) ) { return RdfGenerator . FACTORY . createLiteral ( String . class . cast ( theIn ) , annotation . language ( ) ) ; } else { return RdfGenerator . FACTORY . createLiteral ( String . class . cast ( theIn ) ) ; } } else if ( Character . class . isInstance ( theIn ) ) { return RdfGenerator . FACTORY . createLiteral ( Character . class . cast ( theIn ) ) ; } else if ( java . net . URI . class . isInstance ( theIn ) ) { <START_BUG> if ( annotation . isXsdUri ( ) ) { <END_BUG> return RdfGenerator . FACTORY . createLiteral ( theIn . toString ( ) , ANYURI ) ; } else { return RdfGenerator . FACTORY . createURI ( theIn . toString ( ) ) ; } } else if ( Value . class . isAssignableFrom ( theIn . getClass ( ) ) ) { return Value . class . cast ( theIn ) ; } else if ( BeanReflectUtil . hasAnnotation ( theIn . getClass ( ) , RdfsClass . class ) ) { try { return RdfGenerator . id ( theIn ) ; } catch ( InvalidRdfException e ) { throw new RuntimeException ( e ) ; } } else if ( theIn instanceof RdfGenerator . ProxyHandler ) { return this . apply ( ( ( RdfGenerator . ProxyHandler ) ( theIn ) ) . mProxy . value ( ) ) ; } else { try { Field aProxy = theIn . getClass ( ) . getDeclaredField ( "handler" ) ; return this . apply ( ( ( RdfGenerator . ProxyHandler ) ( BeanReflectUtil . safeGet ( aProxy , theIn ) ) ) . mProxy . value ( ) ) ; } catch ( Exception e ) { throw new RuntimeException ( ( ( ( ( ( "Unknown<seq2seq4repair_space>type<seq2seq4repair_space>conversion:<seq2seq4repair_space>" + ( theIn . getClass ( ) ) ) + "<seq2seq4repair_space>" ) + theIn ) + "<seq2seq4repair_space>" ) + ( mField ) ) ) ; } } } } private static class ContainsResourceValues implements Predicate < Value > { public boolean apply ( final Value theValue ) { } } private static class LanguageFilter implements Predicate < Value > { private String mLangCode ;

Fix:
if ( ( ( annotation ) != null ) && ( annotation . isXsdUri ( ) ) ) {