/*
 * JBoss, Home of Professional Open Source.
 *
 * Copyright 2012 Red Hat, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.jboss.classfilewriter.test.annotation;

public class MethodAnnotationClass {

    @IntValuedAnnotation(value = 10)
    public void intMethod(@IntValuedAnnotation(value = 10) String p) {
    }

    @ClassValuedAnnotation(void.class)
    public void classMethod(@ClassValuedAnnotation(void.class) String p) {
    }

    @EnumValuedAnnotation(EnumValuedAnnotation.SimpleEnum.C)
    public void enumMethod(@EnumValuedAnnotation(EnumValuedAnnotation.SimpleEnum.C) String p) {
    }

    @AnnotationValuedAnnotation(@IntValuedAnnotation(20))
    public void annotationMethod(@AnnotationValuedAnnotation(@IntValuedAnnotation(20)) String p) {
    }

    @IntArrayAnnotation( { 1, 2, 3 })
    public void intArrayMethod(@IntArrayAnnotation( { 1, 2, 3 }) String p) {
    }

    @AnnotationArrayValuedAnnotation( { @IntValuedAnnotation(10), @IntValuedAnnotation(20) })
    public void annotationArrayMethod(
            @AnnotationArrayValuedAnnotation( { @IntValuedAnnotation(10), @IntValuedAnnotation(20) }) String p) {
    }

    @ClassArrayValuedAnnotation( { String.class, int.class, Object.class })
    public void classArrayMethod(@ClassArrayValuedAnnotation( { String.class, int.class, Object.class }) String p) {
    }

    @StringValuedAnnotation(comment = "string")
    public void stringMethod(@StringValuedAnnotation(comment = "string") String p ) {

    }
}
