/*
 *  Licensed to the Apache Software Foundation (ASF) under one
 *  or more contributor license agreements.  See the NOTICE file
 *  distributed with this work for additional information
 *  regarding copyright ownership.  The ASF licenses this file
 *  to you 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 groovy.annotations

import java.lang.annotation.*

import static java.lang.annotation.RetentionPolicy.*
import org.codehaus.groovy.transform.GroovyASTTransformationClass

/**
 * Test annotation
 */
@Retention(RUNTIME)
@GroovyASTTransformationClass("groovy.annotations.MyIntegerAnnoTraceASTTransformation")
@interface MyIntegerAnno {
    int value()
}
