private JvmAnnotationReference annotationClassRef(Class<? extends Annotation> type,
			List<? extends JvmTypeReference> values) {
		try {
			final JvmAnnotationReference annot = this._annotationTypesBuilder.annotationRef(type);
			final JvmTypeAnnotationValue annotationValue = this.services.getTypesFactory().createJvmTypeAnnotationValue();
			for (final JvmTypeReference value : values) {
				annotationValue.getValues().add(this.typeBuilder.cloneWithProxies(value));
			}
			annot.getExplicitValues().add(annotationValue);
			return annot;
		} catch (IllegalArgumentException exception) {
			// ignore
		}
		return null;
	}
private JvmAnnotationReference annotationClassRef ( Class < ? extends Annotation > type , List < ? extends JvmTypeReference > values ) { try { final JvmAnnotationReference annot = this . _annotationTypesBuilder . annotationRef ( type ) ; final JvmTypeAnnotationValue annotationValue = this . services . getTypesFactory ( ) . createJvmTypeAnnotationValue ( ) ; for ( final JvmTypeReference value : values ) { annotationValue . getValues ( ) . add ( this . typeBuilder . cloneWithProxies ( value ) ) ; } annot . getExplicitValues ( ) . add ( annotationValue ) ; return annot ; } catch ( IllegalArgumentException exception ) { } return null ; }
Create an annotation with classes as values.

@param type the type of the annotation.
@param values the values.
@return the reference to the JVM annotation.