for ( int i = 0; i < oneMethod.getParameterTypes().length; i++ ) {
parameterMetaDataList.add(
new ConstrainedParameter(
ConfigurationSource.API,
new ExecutableConstraintLocation( oneMethod, i ),
parameterNames[i],
asMetaConstraints( constraintsByParameter.get( i ) ),
Collections.<Class<?>, Class<?>>emptyMap(),
cascadesByParameter.containsKey( i )
)
);
}
ConstrainedExecutable methodMetaData = new ConstrainedExecutable(
ConfigurationSource.API,
new ExecutableConstraintLocation( oneMethod ),
parameterMetaDataList,
Collections.<MetaConstraint<?>>emptySet(),
asMetaConstraints( constraintsByParameter.get( null ) ),
Collections.<Class<?>, Class<?>>emptyMap(),
cascadesByParameter.containsKey( null )