Java Code Examples for org.omg.CORBA.TypeCode#type_modifier()

The following examples show how to use org.omg.CORBA.TypeCode#type_modifier() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CDRInputStream_1_0.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
private boolean isCustomType(ValueHelper helper) {
    try{
        TypeCode tc = helper.get_type();
        int kind = tc.kind().value();
        if (kind == TCKind._tk_value) {
            return (tc.type_modifier() == org.omg.CORBA.VM_CUSTOM.value);
        }
    } catch(BadKind ex) {
        throw wrapper.badKind(ex) ;
    }

    return false;
}
 
Example 2
Source File: CDRInputStream_1_0.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
private boolean isCustomType(ValueHelper helper) {
    try{
        TypeCode tc = helper.get_type();
        int kind = tc.kind().value();
        if (kind == TCKind._tk_value) {
            return (tc.type_modifier() == org.omg.CORBA.VM_CUSTOM.value);
        }
    } catch(BadKind ex) {
        throw wrapper.badKind(ex) ;
    }

    return false;
}
 
Example 3
Source File: CDRInputStream_1_0.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
private boolean isCustomType(ValueHelper helper) {
    try{
        TypeCode tc = helper.get_type();
        int kind = tc.kind().value();
        if (kind == TCKind._tk_value) {
            return (tc.type_modifier() == org.omg.CORBA.VM_CUSTOM.value);
        }
    } catch(BadKind ex) {
        throw wrapper.badKind(ex) ;
    }

    return false;
}
 
Example 4
Source File: CDRInputStream_1_0.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
private boolean isCustomType(ValueHelper helper) {
    try{
        TypeCode tc = helper.get_type();
        int kind = tc.kind().value();
        if (kind == TCKind._tk_value) {
            return (tc.type_modifier() == org.omg.CORBA.VM_CUSTOM.value);
        }
    } catch(BadKind ex) {
        throw wrapper.badKind(ex) ;
    }

    return false;
}
 
Example 5
Source File: CDRInputStream_1_0.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
private boolean isCustomType(ValueHelper helper) {
    try{
        TypeCode tc = helper.get_type();
        int kind = tc.kind().value();
        if (kind == TCKind._tk_value) {
            return (tc.type_modifier() == org.omg.CORBA.VM_CUSTOM.value);
        }
    } catch(BadKind ex) {
        throw wrapper.badKind(ex) ;
    }

    return false;
}
 
Example 6
Source File: CDRInputStream_1_0.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
private boolean isCustomType(ValueHelper helper) {
    try{
        TypeCode tc = helper.get_type();
        int kind = tc.kind().value();
        if (kind == TCKind._tk_value) {
            return (tc.type_modifier() == org.omg.CORBA.VM_CUSTOM.value);
        }
    } catch(BadKind ex) {
        throw wrapper.badKind(ex) ;
    }

    return false;
}
 
Example 7
Source File: CDRInputStream_1_0.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
private boolean isCustomType(ValueHelper helper) {
    try{
        TypeCode tc = helper.get_type();
        int kind = tc.kind().value();
        if (kind == TCKind._tk_value) {
            return (tc.type_modifier() == org.omg.CORBA.VM_CUSTOM.value);
        }
    } catch(BadKind ex) {
        throw wrapper.badKind(ex) ;
    }

    return false;
}
 
Example 8
Source File: CDRInputStream_1_0.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
private boolean isCustomType(ValueHelper helper) {
    try{
        TypeCode tc = helper.get_type();
        int kind = tc.kind().value();
        if (kind == TCKind._tk_value) {
            return (tc.type_modifier() == org.omg.CORBA.VM_CUSTOM.value);
        }
    } catch(BadKind ex) {
        throw wrapper.badKind(ex) ;
    }

    return false;
}
 
Example 9
Source File: CDRInputStream_1_0.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
private boolean isCustomType(ValueHelper helper) {
    try{
        TypeCode tc = helper.get_type();
        int kind = tc.kind().value();
        if (kind == TCKind._tk_value) {
            return (tc.type_modifier() == org.omg.CORBA.VM_CUSTOM.value);
        }
    } catch(BadKind ex) {
        throw wrapper.badKind(ex) ;
    }

    return false;
}
 
Example 10
Source File: CDRInputStream_1_0.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
private boolean isCustomType(ValueHelper helper) {
    try{
        TypeCode tc = helper.get_type();
        int kind = tc.kind().value();
        if (kind == TCKind._tk_value) {
            return (tc.type_modifier() == org.omg.CORBA.VM_CUSTOM.value);
        }
    } catch(BadKind ex) {
        throw wrapper.badKind(ex) ;
    }

    return false;
}