iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/InterfaceAnalysis.java
protected void analyzeOperations() throws RMIIIOPViolationException {

        if (!cls.isInterface())
            throw IIOPLogger.ROOT_LOGGER.notAnInterface(cls.getName());

        abstractInterface = RmiIdlUtil.isAbstractInterface(cls);
        calculateAllTypeIds();

        int operationCount = 0;
        for (int i = 0; i < methods.length; ++i)
            if ((m_flags[i] & (M_READ | M_WRITE | M_READONLY)) == 0)
                ++operationCount;
        operations = new OperationAnalysis[operationCount];
        operationCount = 0;
        for (int i = 0; i < methods.length; ++i) {
            if ((m_flags[i] & (M_READ | M_WRITE | M_READONLY)) == 0) {
                operations[operationCount] = new OperationAnalysis(methods[i]);
                ++operationCount;
            }
        }

    }
protected void analyzeOperations() throws RMIIIOPViolationException {

        if (!cls.isInterface())
            throw IIOPLogger.ROOT_LOGGER.notAnInterface(cls.getName());

        abstractInterface = RmiIdlUtil.isAbstractInterface(cls);
        calculateAllTypeIds();

        int operationCount = 0;
        for (int i = 0; i < methods.length; ++i)
            if ((m_flags[i] & (M_READ | M_WRITE | M_READONLY)) == 0)
                ++operationCount;
        operations = new OperationAnalysis[operationCount];
        operationCount = 0;
        for (int i = 0; i < methods.length; ++i) {
            if ((m_flags[i] & (M_READ | M_WRITE | M_READONLY)) == 0) {
                operations[operationCount] = new OperationAnalysis(methods[i]);
                ++operationCount;
            }
        }

    }
protected void analyzeOperations ( ) throws RMIIIOPViolationException { if ( ! cls . isInterface ( ) ) throw IIOPLogger . ROOT_LOGGER . notAnInterface ( cls . getName ( ) ) ; abstractInterface = RmiIdlUtil . isAbstractInterface ( cls ) ; calculateAllTypeIds ( ) ; int operationCount = 0 ; for ( int i = 0 ; i < methods . length ; ++ i ) if ( ( m_flags [ i ] & ( M_READ | M_WRITE | M_READONLY ) ) == 0 ) ++ operationCount ; operations = new OperationAnalysis [ operationCount ] ; operationCount = 0 ; for ( int i = 0 ; i < methods . length ; ++ i ) { if ( ( m_flags [ i ] & ( M_READ | M_WRITE | M_READONLY ) ) == 0 ) { operations [ operationCount ] = new OperationAnalysis ( methods [ i ] ) ; ++ operationCount ; } } }
Analyse operations.
This will fill in the <code>operations</code> array.
Analyse operations . This will fill in the <code > operations< / code > array .