problems.toArray( result );
return new org.drools.commons.jci.compilers.CompilationResult( result );
}
final IErrorHandlingPolicy policy = DefaultErrorHandlingPolicies.proceedWithAllProblems();
final IProblemFactory problemFactory = new DefaultProblemFactory( Locale.getDefault() );
final INameEnvironment nameEnvironment = new INameEnvironment() {
public NameEnvironmentAnswer findType(final char[][] pCompoundTypeName) {
final StringBuffer result = new StringBuffer();
for ( int i = 0; i < pCompoundTypeName.length; i++ ) {