KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > core > util > ILocalVariableTableEntry


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jdt.core.util;
12
13 /**
14  * Description of a local variable table entry as specified in the JVM specifications.
15  *
16  * This interface may be implemented by clients.
17  *
18  * @since 2.0
19  */

20 public interface ILocalVariableTableEntry {
21     
22     /**
23      * Answer back the start pc of this entry as specified in
24      * the JVM specifications.
25      *
26      * @return the start pc of this entry as specified in
27      * the JVM specifications
28      */

29     int getStartPC();
30
31     /**
32      * Answer back the length of this entry as specified in
33      * the JVM specifications.
34      *
35      * @return the length of this entry as specified in
36      * the JVM specifications
37      */

38     int getLength();
39
40     /**
41      * Answer back the name index in the constant pool of this entry as specified in
42      * the JVM specifications.
43      *
44      * @return the name index in the constant pool of this entry as specified in
45      * the JVM specifications
46      */

47     int getNameIndex();
48
49     /**
50      * Answer back the descriptor index in the constant pool of this entry as specified in
51      * the JVM specifications.
52      *
53      * @return the descriptor index in the constant pool of this entry as specified in
54      * the JVM specifications
55      */

56     int getDescriptorIndex();
57
58     /**
59      * Answer back the index of this entry as specified in
60      * the JVM specifications.
61      *
62      * @return the index of this entry as specified in
63      * the JVM specifications
64      */

65     int getIndex();
66     
67     /**
68      * Answer back the name of this entry as specified in
69      * the JVM specifications.
70      *
71      * @return the name of this entry as specified in
72      * the JVM specifications
73      */

74     char[] getName();
75
76     /**
77      * Answer back the descriptor of this entry as specified in
78      * the JVM specifications.
79      *
80      * @return the descriptor of this entry as specified in
81      * the JVM specifications
82      */

83     char[] getDescriptor();
84 }
85
Popular Tags