blob: 84c6c10a62207ff3e2c05b5fd0897313ee0800b7 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2013 itemis AG (http://www.itemis.eu) and others.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
*******************************************************************************/
package org.eclipse.xtend.lib.macro.declaration;
import com.google.common.annotations.Beta;
/**
* @author Sven Efftinge
* @noimplement This interface is not intended to be implemented by clients.
*/
@Beta
public interface AnnotationTypeDeclaration extends TypeDeclaration {
/**
* @param name the name of the annotation element
* @return the annotation type element with the given name, declared by this annotation type declaration or <code>null</code> if no such annotation type element exists
*/
AnnotationTypeElementDeclaration findDeclaredAnnotationTypeElement(String name);
/**
* @return the annotation type elements declared by this annotation type declaration
*/
Iterable<? extends AnnotationTypeElementDeclaration> getDeclaredAnnotationTypeElements();
}