public void onObjectType(ObjectTypeNd nd) { ObjectType ot = m_symbols.getEmitted(nd); JavaClassNd jcn = nd.getJavaClass(); JavaClassNd acn = nd.getAdapterClass();  if (jcn == null || acn == null) { return; }  Class javaClass; try { javaClass = Class.forName(jcn.getName()); } catch (ClassNotFoundException e) { m_errors.fatal(jcn, e.getMessage()); return; }  ot.setJavaClass(javaClass);  try { Class adapterClass = Class.forName(acn.getName()); Adapter ad = (Adapter) adapterClass.newInstance(); Adapter.addAdapter(javaClass, ad); } catch (IllegalAccessException e) { m_errors.fatal(acn, e.getMessage()); } catch (ClassNotFoundException e) { m_errors.fatal(acn, e.getMessage()); } catch (InstantiationException e) { m_errors.fatal(acn, e.getMessage()); } }
public void onObjectType(ObjectTypeNd otn) { m_root.addObjectMap (new ObjectMap(m_symbols.getEmitted(otn))); }
		public void onObjectType(ObjectTypeNd nd) {		    ObjectType ot = m_symbols.getEmitted(nd);		    JavaClassNd jcn = nd.getJavaClass();		    JavaClassNd acn = nd.getAdapterClass();		    if (jcn == null || acn == null) {			return;		    }		    Class javaClass;		    try {			javaClass = Class.forName(jcn.getName());		    } catch (ClassNotFoundException e) {			m_errors.fatal(jcn, e.getMessage());			return;		    }		    ot.setJavaClass(javaClass);		    try {			Class adapterClass = Class.forName(acn.getName());			Adapter ad = (Adapter) adapterClass.newInstance();			Adapter.addAdapter(javaClass, ad);		    } catch (IllegalAccessException e) {			m_errors.fatal(acn, e.getMessage());		    } catch (ClassNotFoundException e) {			m_errors.fatal(acn, e.getMessage());		    } catch (InstantiationException e) {			m_errors.fatal(acn, e.getMessage());		    }		}