iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ContainerAnalysis.java
public String getIDLModuleName() {
        if (idlModuleName == null) {
            String pkgName = cls.getPackage().getName();
            StringBuffer b = new StringBuffer();

            while (!"".equals(pkgName)) {
                int idx = pkgName.indexOf('.');
                String n = (idx == -1) ? pkgName : pkgName.substring(0, idx);

                b.append("::").append(Util.javaToIDLName(n));

                pkgName = (idx == -1) ? "" : pkgName.substring(idx + 1);
            }
            idlModuleName = b.toString();
        }
        return idlModuleName;
    }
public String getIDLModuleName() {
        if (idlModuleName == null) {
            String pkgName = cls.getPackage().getName();
            StringBuffer b = new StringBuffer();

            while (!"".equals(pkgName)) {
                int idx = pkgName.indexOf('.');
                String n = (idx == -1) ? pkgName : pkgName.substring(0, idx);

                b.append("::").append(Util.javaToIDLName(n));

                pkgName = (idx == -1) ? "" : pkgName.substring(idx + 1);
            }
            idlModuleName = b.toString();
        }
        return idlModuleName;
    }
public String getIDLModuleName ( ) { if ( idlModuleName == null ) { String pkgName = cls . getPackage ( ) . getName ( ) ; StringBuffer b = new StringBuffer ( ) ; while ( ! "" . equals ( pkgName ) ) { int idx = pkgName . indexOf ( ' ' ) ; String n = ( idx == - 1 ) ? pkgName : pkgName . substring ( 0 , idx ) ; b . append ( "::" ) . append ( Util . javaToIDLName ( n ) ) ; pkgName = ( idx == - 1 ) ? "" : pkgName . substring ( idx + 1 ) ; } idlModuleName = b . toString ( ) ; } return idlModuleName ; }
Return the fully qualified IDL module name that this
analysis should be placed in.
Return the fully qualified IDL module name that this analysis should be placed in .