iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/InterfaceRepository.java
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);
        }
    }
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);
        }
    }
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).
Add a set of attributes to a container ( interface or value class ) .