iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/OperationDefImpl.java
public Description describe() {
        String defined_in_id = "IR";

        if (defined_in instanceof ContainedOperations)
            defined_in_id = ((ContainedOperations) defined_in).id();

        ExceptionDescription[] exds;
        exds = new ExceptionDescription[exceptions.length];
        for (int i = 0; i < exceptions.length; ++i) {
            Description d = exceptions[i].describe();
            exds[i] = ExceptionDescriptionHelper.extract(d.value);
        }

        OperationDescription od;
        od = new OperationDescription(name, id, defined_in_id, version, typeCode,
                mode(), contexts(), params(), exds);

        Any any = getORB().create_any();

        OperationDescriptionHelper.insert(any, od);

        return new Description(DefinitionKind.dk_Operation, any);
    }
public Description describe() {
        String defined_in_id = "IR";

        if (defined_in instanceof ContainedOperations)
            defined_in_id = ((ContainedOperations) defined_in).id();

        ExceptionDescription[] exds;
        exds = new ExceptionDescription[exceptions.length];
        for (int i = 0; i < exceptions.length; ++i) {
            Description d = exceptions[i].describe();
            exds[i] = ExceptionDescriptionHelper.extract(d.value);
        }

        OperationDescription od;
        od = new OperationDescription(name, id, defined_in_id, version, typeCode,
                mode(), contexts(), params(), exds);

        Any any = getORB().create_any();

        OperationDescriptionHelper.insert(any, od);

        return new Description(DefinitionKind.dk_Operation, any);
    }
public Description describe ( ) { String defined_in_id = "IR" ; if ( defined_in instanceof ContainedOperations ) defined_in_id = ( ( ContainedOperations ) defined_in ) . id ( ) ; ExceptionDescription [ ] exds ; exds = new ExceptionDescription [ exceptions . length ] ; for ( int i = 0 ; i < exceptions . length ; ++ i ) { Description d = exceptions [ i ] . describe ( ) ; exds [ i ] = ExceptionDescriptionHelper . extract ( d . value ) ; } OperationDescription od ; od = new OperationDescription ( name , id , defined_in_id , version , typeCode , mode ( ) , contexts ( ) , params ( ) , exds ) ; Any any = getORB ( ) . create_any ( ) ; OperationDescriptionHelper . insert ( any , od ) ; return new Description ( DefinitionKind . dk_Operation , any ) ; }
ContainedImpl implementation ----------------------------------
ContainedImpl implementation ----------------------------------