for ( int i = 0; i < oneMethod.getParameterTypes().length; i++ ) {
parameterMetaDataList.add(
new ConstrainedParameter(
ConfigurationSource.API,
new MethodConstraintLocation( oneMethod, i ),
DEFAULT_PARAMETER_NAME_PREFIX + i,
asMetaConstraints( constraintsByParameter.get( i ) ),
cascadesByParameter.containsKey( i )
)
);
}
ConstrainedMethod methodMetaData = new ConstrainedMethod(
ConfigurationSource.API,
new MethodConstraintLocation( oneMethod ),
parameterMetaDataList,
asMetaConstraints( constraintsByParameter.get( null ) ),
cascadesByParameter.containsKey( null )
);
allMethodMetaData.add( methodMetaData );