private <A extends Annotation> MetaConstraint<A> createParameterMetaConstraint(Method method, int parameterIndex, ConstraintDescriptorImpl<A> descriptor) {
return new MetaConstraint<A>( descriptor, new MethodConstraintLocation( method, parameterIndex ) );
}
private <A extends Annotation> MetaConstraint<A> createReturnValueMetaConstraint(Method method, ConstraintDescriptorImpl<A> descriptor) {
return new MetaConstraint<A>( descriptor, new MethodConstraintLocation( method ) );
}