Class c = context.resolveClass(className);
if (c == null)
{
throw generateProcessingException(new IllegalArgumentException("Cannot resolve class " + className), node);
}
StaticImport si = StaticImportUtils.getStaticImport(c);
context.addStaticImport(si);
Iterator it = si.getStaticFields().entrySet().iterator();
NametableStack ntStack = context.getNametableStack();
while (it.hasNext())
{
Map.Entry entry = (Map.Entry) it.next();
ntStack.declare((String) entry.getKey(), entry.getValue());