/** * Add a set of interfaces to the IR. * * @return An array of the IR IDs of the interfaces. */ private String[] addInterfaces(ContainerAnalysis ca) throws RMIIIOPViolationException, IRConstructionException { InterfaceAnalysis[] interfaces = ca.getInterfaces(); List base_interfaces = new ArrayList(); for (int i = 0; i < interfaces.length; ++i) { InterfaceDefImpl idi = addInterface(interfaces[i]); base_interfaces.add(idi.id()); } String[] strArr = new String[base_interfaces.size()]; return (String[]) base_interfaces.toArray(strArr); }
addInterface(ia); } else {
/** * Add a set of interfaces to the IR. * * @return An array of the IR IDs of the interfaces. */ private String[] addInterfaces(ContainerAnalysis ca) throws RMIIIOPViolationException, IRConstructionException { InterfaceAnalysis[] interfaces = ca.getInterfaces(); List base_interfaces = new ArrayList(); for (int i = 0; i < interfaces.length; ++i) { InterfaceDefImpl idi = addInterface(interfaces[i]); base_interfaces.add(idi.id()); } String[] strArr = new String[base_interfaces.size()]; return (String[]) base_interfaces.toArray(strArr); }
/** * Add a set of interfaces to the IR. * * @return An array of the IR IDs of the interfaces. */ private String[] addInterfaces(ContainerAnalysis ca) throws RMIIIOPViolationException, IRConstructionException { InterfaceAnalysis[] interfaces = ca.getInterfaces(); List base_interfaces = new ArrayList(); for (int i = 0; i < interfaces.length; ++i) { InterfaceDefImpl idi = addInterface(interfaces[i]); base_interfaces.add(idi.id()); } String[] strArr = new String[base_interfaces.size()]; return (String[]) base_interfaces.toArray(strArr); }
addInterface(ia); } else {
addInterface(ia); } else {