1 /*******************************************************************************
2  * Copyright (c) 2007, 2009 IBM Corporation and others.
3  *
4  * This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License 2.0
6  * which accompanies this distribution, and is available at
7  * https://www.eclipse.org/legal/epl-2.0/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  *     IBM Corporation - initial API and implementation
13  *******************************************************************************/
14 package org.eclipse.pde.api.tools.internal.provisional;
15 
16 /**
17  * Describes API usage restrictions, visibility and profiles information of an
18  * element contained in an API component.
19  *
20  * @since 1.0.0
21  */
22 public interface IApiAnnotations {
23 
24 	/**
25 	 * Returns the visibility modifiers annotation.
26 	 *
27 	 * @return a visibility constant defined by {@link VisibilityModifiers}
28 	 */
getVisibility()29 	public int getVisibility();
30 
31 	/**
32 	 * Returns the restriction modifiers annotation.
33 	 *
34 	 * @return restriction constant defined by {@link RestrictionModifiers}
35 	 */
getRestrictions()36 	public int getRestrictions();
37 
38 }
39