Copyright (c) 2017 IBM Corporation and others. This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-2.0/ SPDX-License-Identifier: EPL-2.0 Contributors: IBM Corporation - initial API and implementation
/******************************************************************************* * Copyright (c) 2017 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifier: EPL-2.0 * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/
package org.eclipse.jdt.core.util;
Description of a requires info as described in JVMS9 4.7.25
@noimplementThis interface is not intended to be implemented by clients.
@noextendThis interface is not intended to be extended by clients.
Since:3.14
/** * Description of a requires info as described in JVMS9 4.7.25 * * @noimplement This interface is not intended to be implemented by clients. * @noextend This interface is not intended to be extended by clients. * @since 3.14 */
public interface IRequiresInfo {
Answer back the requires index.
Returns:the requires index
/** * Answer back the requires index. * * @return the requires index */
int getRequiresIndex();
Answer back the requires module name.
Returns:the requires module name
/** * Answer back the requires module name. * * @return the requires module name */
char[] getRequiresModuleName();
Answer back the requires flags.
Returns:the requires flags
/** * Answer back the requires flags. * * @return the requires flags */
int getRequiresFlags();
Answer back the requires version index.
Returns:the requires version index
/** * Answer back the requires version index. * * @return the requires version index */
int getRequiresVersionIndex();
Answer back the requires version string.
Returns:the requires version string
/** * Answer back the requires version string. * * @return the requires version string */
public char[] getRequiresVersionValue(); }