1 /*******************************************************************************
2  * Copyright (c) 2004, 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.jdt.core.util;
15 
16 /**
17  * Description of a runtime invisible parameter annotations attribute as described in the JVM specifications
18  * (added in J2SE 1.5).
19  *
20  * This interface may be implemented by clients.
21  *
22  * @since 3.0
23  */
24 public interface IRuntimeInvisibleParameterAnnotationsAttribute extends IClassFileAttribute {
25 
26 	/**
27 	 * Answer back the number of parameters as described in the JVM specifications.
28 	 *
29 	 * @return the number of parameters
30 	 */
getParametersNumber()31 	int getParametersNumber();
32 
33 	/**
34 	 * Answer back the parameter annotations. Answers an empty collection if none.
35 	 *
36 	 * @return the parameter annotations. Answers an empty collection if none.
37 	 */
getParameterAnnotations()38 	IParameterAnnotation[] getParameterAnnotations();
39 }
40