iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/InterfaceAnalysis.java
protected void calculateAllTypeIds() {
        if (!isRmiIdlRemoteInterface()) {
            allTypeIds = new String[0];
        } else {
            ArrayList a = new ArrayList();
            InterfaceAnalysis[] intfs = getInterfaces();
            for (int i = 0; i < intfs.length; ++i) {
                String[] ss = intfs[i].getAllTypeIds();

                for (int j = 0; j < ss.length; ++j)
                    if (!a.contains(ss[j]))
                        a.add(ss[j]);
            }
            allTypeIds = new String[a.size() + 1];
            allTypeIds[0] = getRepositoryId();
            for (int i = 1; i <= a.size(); ++i)
                allTypeIds[i] = (String) a.get(a.size() - i);
        }
    }
protected void calculateAllTypeIds() {
        if (!isRmiIdlRemoteInterface()) {
            allTypeIds = new String[0];
        } else {
            ArrayList a = new ArrayList();
            InterfaceAnalysis[] intfs = getInterfaces();
            for (int i = 0; i < intfs.length; ++i) {
                String[] ss = intfs[i].getAllTypeIds();

                for (int j = 0; j < ss.length; ++j)
                    if (!a.contains(ss[j]))
                        a.add(ss[j]);
            }
            allTypeIds = new String[a.size() + 1];
            allTypeIds[0] = getRepositoryId();
            for (int i = 1; i <= a.size(); ++i)
                allTypeIds[i] = (String) a.get(a.size() - i);
        }
    }
protected void calculateAllTypeIds ( ) { if ( ! isRmiIdlRemoteInterface ( ) ) { allTypeIds = new String [ 0 ] ; } else { ArrayList a = new ArrayList ( ) ; InterfaceAnalysis [ ] intfs = getInterfaces ( ) ; for ( int i = 0 ; i < intfs . length ; ++ i ) { String [ ] ss = intfs [ i ] . getAllTypeIds ( ) ; for ( int j = 0 ; j < ss . length ; ++ j ) if ( ! a . contains ( ss [ j ] ) ) a . add ( ss [ j ] ) ; } allTypeIds = new String [ a . size ( ) + 1 ] ; allTypeIds [ 0 ] = getRepositoryId ( ) ; for ( int i = 1 ; i <= a . size ( ) ; ++ i ) allTypeIds [ i ] = ( String ) . get ( a . size ( ) - i ) ; } }
Calculate the array containing all type ids of this interface,
in the format that org.omg.CORBA.portable.Servant._all_interfaces()
is expected to return.
Calculate the array containing all type ids of this interface in the format that org . omg . CORBA . portable . Servant . _all_interfaces () is expected to return .