Agent val = getAnnotation(cma, Agent.class, cl); Boolean susp = val.suspend().toBoolean(); Boolean mast = val.master().toBoolean(); Description val = getAnnotation(cma, Description.class, cl); modelinfo.setDescription(val.value()); String[] tmp = getAnnotation(cma, Imports.class, cl).value(); Set<String> imports = (Set<String>)toset.get("imports"); if(imports==null) Properties val = (Properties)getAnnotation(cma, Properties.class, cl); NameValue[] vals = val.value(); propdone = val.replace(); NFProperties val = (NFProperties)getAnnotation(cma, NFProperties.class, cl); GuiClass gui = (GuiClass)getAnnotation(cma, GuiClass.class, cl); Class<?> gclazz = gui.value(); GuiClassName gui = (GuiClassName)getAnnotation(cma, GuiClassName.class, cl); String clazzname = gui.value(); Breakpoints val = (Breakpoints)getAnnotation(cma, Breakpoints.class, cl); breaksdone = val.replace(); String[] vals = val.value(); RequiredServices val = (RequiredServices)getAnnotation(cma, RequiredServices.class, cl); RequiredService[] vals = val.value();
Agent val = getAnnotation(cma, Agent.class, cl); Boolean susp = val.suspend().toBoolean(); Boolean mast = val.master().toBoolean(); Description val = getAnnotation(cma, Description.class, cl); modelinfo.setDescription(val.value()); String[] tmp = getAnnotation(cma, Imports.class, cl).value(); Set<String> imports = (Set)getOrCreateSet("imports", toset); for(int i=0; i<tmp.length; i++) Features fs = getAnnotation(cma, Features.class, cl); Feature[] tmp = fs.value(); featdone = fs.replace(); Properties val = (Properties)getAnnotation(cma, Properties.class, cl); NameValue[] vals = val.value(); propdone = val.replace(); NFProperties val = (NFProperties)getAnnotation(cma, NFProperties.class, cl); GuiClass gui = (GuiClass)getAnnotation(cma, GuiClass.class, cl); Class<?> gclazz = gui.value(); GuiClassName gui = (GuiClassName)getAnnotation(cma, GuiClassName.class, cl); String clazzname = gui.value(); Breakpoints val = (Breakpoints)getAnnotation(cma, Breakpoints.class, cl); breaksdone = val.replace();