/*******************************************************************************
* Copyright (c) 2010 Red Hat, Inc.
* Distributed under license by Red Hat, Inc. All rights reserved.
* This program is made available under the terms of the
* Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Red Hat, Inc. - initial API and implementation
******************************************************************************/
package org.jboss.tools.cdi.core;
import java.util.Collection;
import org.eclipse.jdt.core.IMethod;
import org.jboss.tools.common.java.IAnnotationDeclaration;
import org.jboss.tools.common.java.IAnnotationType;
/**
* Common interface for an annotation interface.
*
* @author Viacheslav Kabanovich
*
*/
public interface ICDIAnnotation extends ICDIElement, IAnnotationType {
/**
* Returns the declaration of @Inherited declaration of this annotation
* type. If the interface doesn't have the @Inherited declaration then null
* will be returned.
*
* @return the declaration of @Inherited declaration of this bean
*/
IAnnotationDeclaration getInheritedDeclaration();
/**
* Returns set of members annotated with @Nonbinding
*
* @return set of members annotated with @Nonbinding
*/
Collection<IMethod> getNonBindingMethods();
}