Java Code Examples for jdk.internal.dynalink.CallSiteDescriptor#getName()

The following examples show how to use jdk.internal.dynalink.CallSiteDescriptor#getName() . 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: BeanLinker.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
private static void assertParameterCount(final CallSiteDescriptor descriptor, final int paramCount) {
    if(descriptor.getMethodType().parameterCount() != paramCount) {
        throw new BootstrapMethodError(descriptor.getName() + " must have exactly " + paramCount + " parameters.");
    }
}
 
Example 2
Source File: BeanLinker.java    From nashorn with GNU General Public License v2.0 4 votes vote down vote up
private static void assertParameterCount(CallSiteDescriptor descriptor, int paramCount) {
    if(descriptor.getMethodType().parameterCount() != paramCount) {
        throw new BootstrapMethodError(descriptor.getName() + " must have exactly " + paramCount + " parameters.");
    }
}
 
Example 3
Source File: AbstractJavaLinker.java    From nashorn with GNU General Public License v2.0 4 votes vote down vote up
private static void assertParameterCount(CallSiteDescriptor descriptor, int paramCount) {
    if(descriptor.getMethodType().parameterCount() != paramCount) {
        throw new BootstrapMethodError(descriptor.getName() + " must have exactly " + paramCount + " parameters.");
    }
}
 
Example 4
Source File: BeanLinker.java    From jdk8u_nashorn with GNU General Public License v2.0 4 votes vote down vote up
private static void assertParameterCount(final CallSiteDescriptor descriptor, final int paramCount) {
    if(descriptor.getMethodType().parameterCount() != paramCount) {
        throw new BootstrapMethodError(descriptor.getName() + " must have exactly " + paramCount + " parameters.");
    }
}
 
Example 5
Source File: AbstractJavaLinker.java    From jdk8u_nashorn with GNU General Public License v2.0 4 votes vote down vote up
private static void assertParameterCount(final CallSiteDescriptor descriptor, final int paramCount) {
    if(descriptor.getMethodType().parameterCount() != paramCount) {
        throw new BootstrapMethodError(descriptor.getName() + " must have exactly " + paramCount + " parameters.");
    }
}
 
Example 6
Source File: BeanLinker.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
private static void assertParameterCount(CallSiteDescriptor descriptor, int paramCount) {
    if(descriptor.getMethodType().parameterCount() != paramCount) {
        throw new BootstrapMethodError(descriptor.getName() + " must have exactly " + paramCount + " parameters.");
    }
}
 
Example 7
Source File: AbstractJavaLinker.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
private static void assertParameterCount(CallSiteDescriptor descriptor, int paramCount) {
    if(descriptor.getMethodType().parameterCount() != paramCount) {
        throw new BootstrapMethodError(descriptor.getName() + " must have exactly " + paramCount + " parameters.");
    }
}
 
Example 8
Source File: BeanLinker.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
private static void assertParameterCount(CallSiteDescriptor descriptor, int paramCount) {
    if(descriptor.getMethodType().parameterCount() != paramCount) {
        throw new BootstrapMethodError(descriptor.getName() + " must have exactly " + paramCount + " parameters.");
    }
}
 
Example 9
Source File: AbstractJavaLinker.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
private static void assertParameterCount(CallSiteDescriptor descriptor, int paramCount) {
    if(descriptor.getMethodType().parameterCount() != paramCount) {
        throw new BootstrapMethodError(descriptor.getName() + " must have exactly " + paramCount + " parameters.");
    }
}
 
Example 10
Source File: AbstractJavaLinker.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
private static void assertParameterCount(final CallSiteDescriptor descriptor, final int paramCount) {
    if(descriptor.getMethodType().parameterCount() != paramCount) {
        throw new BootstrapMethodError(descriptor.getName() + " must have exactly " + paramCount + " parameters.");
    }
}
 
Example 11
Source File: AbstractJavaLinker.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
private static void assertParameterCount(final CallSiteDescriptor descriptor, final int paramCount) {
    if(descriptor.getMethodType().parameterCount() != paramCount) {
        throw new BootstrapMethodError(descriptor.getName() + " must have exactly " + paramCount + " parameters.");
    }
}
 
Example 12
Source File: BeanLinker.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
private static void assertParameterCount(final CallSiteDescriptor descriptor, final int paramCount) {
    if(descriptor.getMethodType().parameterCount() != paramCount) {
        throw new BootstrapMethodError(descriptor.getName() + " must have exactly " + paramCount + " parameters.");
    }
}
 
Example 13
Source File: AbstractJavaLinker.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
private static void assertParameterCount(final CallSiteDescriptor descriptor, final int paramCount) {
    if(descriptor.getMethodType().parameterCount() != paramCount) {
        throw new BootstrapMethodError(descriptor.getName() + " must have exactly " + paramCount + " parameters.");
    }
}
 
Example 14
Source File: BeanLinker.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
private static void assertParameterCount(final CallSiteDescriptor descriptor, final int paramCount) {
    if(descriptor.getMethodType().parameterCount() != paramCount) {
        throw new BootstrapMethodError(descriptor.getName() + " must have exactly " + paramCount + " parameters.");
    }
}
 
Example 15
Source File: AbstractJavaLinker.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
private static void assertParameterCount(final CallSiteDescriptor descriptor, final int paramCount) {
    if(descriptor.getMethodType().parameterCount() != paramCount) {
        throw new BootstrapMethodError(descriptor.getName() + " must have exactly " + paramCount + " parameters.");
    }
}
 
Example 16
Source File: BeanLinker.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
private static void assertParameterCount(final CallSiteDescriptor descriptor, final int paramCount) {
    if(descriptor.getMethodType().parameterCount() != paramCount) {
        throw new BootstrapMethodError(descriptor.getName() + " must have exactly " + paramCount + " parameters.");
    }
}
 
Example 17
Source File: AbstractJavaLinker.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
private static void assertParameterCount(final CallSiteDescriptor descriptor, final int paramCount) {
    if(descriptor.getMethodType().parameterCount() != paramCount) {
        throw new BootstrapMethodError(descriptor.getName() + " must have exactly " + paramCount + " parameters.");
    }
}
 
Example 18
Source File: BeanLinker.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
private static void assertParameterCount(final CallSiteDescriptor descriptor, final int paramCount) {
    if(descriptor.getMethodType().parameterCount() != paramCount) {
        throw new BootstrapMethodError(descriptor.getName() + " must have exactly " + paramCount + " parameters.");
    }
}