/** * Add mapping for a class. */ public void mapClass(Class cls) throws RMIIIOPViolationException, IRConstructionException { // Just lookup a TypeCode for the class: That will provoke // mapping the class and adding it to the IR. getTypeCode(cls); }
/** * Add a set of attributes to a container (interface or value class). */ private void addAttributes(LocalContainer container, ContainerAnalysis ca) throws RMIIIOPViolationException, IRConstructionException { AttributeAnalysis[] attrs = ca.getAttributes(); for (int i = 0; i < attrs.length; ++i) { AttributeDefImpl aDef; String aid = ca.getMemberRepositoryId(attrs[i].getJavaName()); String aName = attrs[i].getIDLName(); Class cls = attrs[i].getCls(); TypeCode typeCode = getTypeCode(cls); aDef = new AttributeDefImpl(aid, aName, "1.0", attrs[i].getMode(), typeCode, container, impl); container.add(aName, aDef); } }
typeCode = getTypeCode(compType); // map the component type.
TypeCode typeCode = getTypeCode(cls); for (int j = 0; j < ps.length; ++j) { params[j] = new ParameterDescription(ps[j].getIDLName(), getTypeCode(ps[j].getCls()),
TypeCode typeCode = getTypeCode(vmCls);
/** * Add mapping for a class. */ public void mapClass(Class cls) throws RMIIIOPViolationException, IRConstructionException { // Just lookup a TypeCode for the class: That will provoke // mapping the class and adding it to the IR. getTypeCode(cls); }
/** * Add mapping for a class. */ public void mapClass(Class cls) throws RMIIIOPViolationException, IRConstructionException { // Just lookup a TypeCode for the class: That will provoke // mapping the class and adding it to the IR. getTypeCode(cls); }
/** * Add a set of attributes to a container (interface or value class). */ private void addAttributes(LocalContainer container, ContainerAnalysis ca) throws RMIIIOPViolationException, IRConstructionException { AttributeAnalysis[] attrs = ca.getAttributes(); for (int i = 0; i < attrs.length; ++i) { AttributeDefImpl aDef; String aid = ca.getMemberRepositoryId(attrs[i].getJavaName()); String aName = attrs[i].getIDLName(); Class cls = attrs[i].getCls(); TypeCode typeCode = getTypeCode(cls); aDef = new AttributeDefImpl(aid, aName, "1.0", attrs[i].getMode(), typeCode, container, impl); container.add(aName, aDef); } }
/** * Add a set of attributes to a container (interface or value class). */ private void addAttributes(LocalContainer container, ContainerAnalysis ca) throws RMIIIOPViolationException, IRConstructionException { AttributeAnalysis[] attrs = ca.getAttributes(); for (int i = 0; i < attrs.length; ++i) { AttributeDefImpl aDef; String aid = ca.getMemberRepositoryId(attrs[i].getJavaName()); String aName = attrs[i].getIDLName(); Class cls = attrs[i].getCls(); TypeCode typeCode = getTypeCode(cls); aDef = new AttributeDefImpl(aid, aName, "1.0", attrs[i].getMode(), typeCode, container, impl); container.add(aName, aDef); } }
typeCode = getTypeCode(compType); // map the component type.
typeCode = getTypeCode(compType); // map the component type.
TypeCode typeCode = getTypeCode(cls); for (int j = 0; j < ps.length; ++j) { params[j] = new ParameterDescription(ps[j].getIDLName(), getTypeCode(ps[j].getCls()),
TypeCode typeCode = getTypeCode(cls); for (int j = 0; j < ps.length; ++j) { params[j] = new ParameterDescription(ps[j].getIDLName(), getTypeCode(ps[j].getCls()),
TypeCode typeCode = getTypeCode(vmCls);
TypeCode typeCode = getTypeCode(vmCls);