Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: b510218085efdf33e9ad2c1084a282237016067e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*******************************************************************************
 * Copyright (c) 2017 IBM Corporation 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:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.jdt.core.util;

/**
 * Description of an exports/opens info as described in the JVM specifications 4.7.25
 *
 * @noimplement This interface is not intended to be implemented by clients.
 * @since 3.14
 */
public interface IPackageVisibilityInfo {

	/**
	 * Answer back the exports/opens index.
	 *
	 * @return the exports/opens index
	 */
	int getIndex();

	/**
	 * Answer back the exports/opens package.
	 *
	 * @return the exports/opens package
	 */
	char[] getPackageName();

	/**
	 * Answer back the exports/opens flags.
	 *
	 * @return the exports/opens flags
	 */
	int getFlags();

	/**
	 * Answer back the number of targets, zero if none.
	 *
	 * @return the number of targets, zero if none.
	 */
	int getTargetsCount();

	/**
	 * Answer back the array of target module indices.
	 *
	 * @return the array of target module indices.
	 */
	int[] getTargetModuleIndices();

	/**
	 * Answer back the array of target module names.
	 *
	 * @return the array of target module names.
	 */
	char[][] getTargetModuleNames();
}

Back to the top