/*******************************************************************************
 * Copyright (c) 2004 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Common Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v10.html
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.jdt.core.util;

/**
 * Description of a runtime visible parameter annotations attribute as described in the JVM specification
 * (added in J2SE 1.5).
 * 
 * This interface may be implemented by clients. 
 *  
 * @since 3.0
 */
public interface IRuntimeVisibleParameterAnnotationsAttribute extends IClassFileAttribute {

	/**
	 * Answer back the number of parameters as described in the JVM specifications.
	 * 
	 * @return the number of parameters
	 */
	int getParametersNumber();

	/**
	 * Answer back the parameter annotations. Answers an empty collection if none.
	 * 
	 * @return the parameter annotations. Answers an empty collection if none.
	 */
	IParameterAnnotation[] getParameterAnnotations();
}
