List list[] = analysis.getBoundIdentifiers();
// @TODO yuck, we don't want conditions for configuration :(
if ( context instanceof RuleBuildContext ) {
// FIXME: analysis can be null, throws an NPE
DeclarationScopeResolver resolver = ((RuleBuildContext) context).getDeclarationResolver();
for ( Iterator it = list[0].iterator(); it.hasNext(); ) {
String identifier = (String) it.next();
Class cls = resolver.getDeclaration(null, identifier ).getExtractor().getExtractToClass();
parserContext.addInput( identifier,
cls );
}
}