1 /*******************************************************************************
2  * Copyright (c) 2000, 2009 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 local variable table entry as specified in the JVM specifications.
18  *
19  * This interface may be implemented by clients.
20  *
21  * @since 2.0
22  */
23 public interface ILocalVariableTableEntry {
24 
25 	/**
26 	 * Answer back the start pc of this entry as specified in
27 	 * the JVM specifications.
28 	 *
29 	 * @return the start pc of this entry as specified in
30 	 * the JVM specifications
31 	 */
getStartPC()32 	int getStartPC();
33 
34 	/**
35 	 * Answer back the length of this entry as specified in
36 	 * the JVM specifications.
37 	 *
38 	 * @return the length of this entry as specified in
39 	 * the JVM specifications
40 	 */
getLength()41 	int getLength();
42 
43 	/**
44 	 * Answer back the name index in the constant pool of this entry as specified in
45 	 * the JVM specifications.
46 	 *
47 	 * @return the name index in the constant pool of this entry as specified in
48 	 * the JVM specifications
49 	 */
getNameIndex()50 	int getNameIndex();
51 
52 	/**
53 	 * Answer back the descriptor index in the constant pool of this entry as specified in
54 	 * the JVM specifications.
55 	 *
56 	 * @return the descriptor index in the constant pool of this entry as specified in
57 	 * the JVM specifications
58 	 */
getDescriptorIndex()59 	int getDescriptorIndex();
60 
61 	/**
62 	 * Answer back the index of this entry as specified in
63 	 * the JVM specifications.
64 	 *
65 	 * @return the index of this entry as specified in
66 	 * the JVM specifications
67 	 */
getIndex()68 	int getIndex();
69 
70 	/**
71 	 * Answer back the name of this entry as specified in
72 	 * the JVM specifications.
73 	 *
74 	 * @return the name of this entry as specified in
75 	 * the JVM specifications
76 	 */
getName()77 	char[] getName();
78 
79 	/**
80 	 * Answer back the descriptor of this entry as specified in
81 	 * the JVM specifications.
82 	 *
83 	 * @return the descriptor of this entry as specified in
84 	 * the JVM specifications
85 	 */
getDescriptor()86 	char[] getDescriptor();
87 }
88