1 /*******************************************************************************
2  * Copyright (c) 2017 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 Module Main Class Attribute as described in the JVMS9 4.7.27
18  *
19  * This interface may be implemented by clients.
20  *
21  * @since 3.14
22  */
23 public interface IModuleMainClassAttribute extends IClassFileAttribute {
24 
25 	/**
26 	 * Answer back the main class index.
27 	 *
28 	 * @return the main class index
29 	 */
getMainClassIndex()30 	int getMainClassIndex();
31 
32 	/**
33 	 * Answer back the name of main class.
34 	 *
35 	 * @return the name of main class
36 	 */
getMainClassName()37 	char[] getMainClassName();
38 }
39