All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.aspectj.org.eclipse.jdt.core.util.IMethodParametersAttribute Maven / Gradle / Ivy

There is a newer version: 1.9.22.1
Show newest version
/*******************************************************************************
 * Copyright (c) 2013 Jesper Steen Moeller and others.
 * All rights reserved. This program and the accompanying materials
 * are 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:
 *     Jesper Steen Moeller - initial API and implementation
 *******************************************************************************/
package org.aspectj.org.eclipse.jdt.core.util;

/**
 * Description of a method's parameters names as described in the JVM specifications.
 *
 * This interface may be implemented by clients.
 *
 * @since 3.10
 */
public interface IMethodParametersAttribute extends IClassFileAttribute {

	/**
	 * Answer back the number of parameters for this method as specified in
	 * the JVM specifications.
	 *
	 * @return the number of parameters for this method as specified in
	 * the JVM specifications
	 */
	int getMethodParameterLength();

	/**
	 * Answer back the name for the i'th parameter. Answer null if no
	 * name is available.
	 *
	 * @return back the name for the i'th parameter. Returns null if no
	 * name is available.
	 */
	char[] getParameterName(int i);

	/**
	 * Answer back the access flags for the i'th parameter, a mask of
	 * ACC_FINAL, ACC_SYNTHETIC, and ACC_MANDATED.
	 *
	 * @return the access flags for the i'th parameter.
	 */
	short getAccessFlags(int i);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy