01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.jdt.core.util;
11:
12: /**
13: * Description of a local variable table entry as specified in the JVM specifications.
14: *
15: * This interface may be implemented by clients.
16: *
17: * @since 2.0
18: */
19: public interface ILocalVariableTableEntry {
20:
21: /**
22: * Answer back the start pc of this entry as specified in
23: * the JVM specifications.
24: *
25: * @return the start pc of this entry as specified in
26: * the JVM specifications
27: */
28: int getStartPC();
29:
30: /**
31: * Answer back the length of this entry as specified in
32: * the JVM specifications.
33: *
34: * @return the length of this entry as specified in
35: * the JVM specifications
36: */
37: int getLength();
38:
39: /**
40: * Answer back the name index in the constant pool of this entry as specified in
41: * the JVM specifications.
42: *
43: * @return the name index in the constant pool of this entry as specified in
44: * the JVM specifications
45: */
46: int getNameIndex();
47:
48: /**
49: * Answer back the descriptor index in the constant pool of this entry as specified in
50: * the JVM specifications.
51: *
52: * @return the descriptor index in the constant pool of this entry as specified in
53: * the JVM specifications
54: */
55: int getDescriptorIndex();
56:
57: /**
58: * Answer back the index of this entry as specified in
59: * the JVM specifications.
60: *
61: * @return the index of this entry as specified in
62: * the JVM specifications
63: */
64: int getIndex();
65:
66: /**
67: * Answer back the name of this entry as specified in
68: * the JVM specifications.
69: *
70: * @return the name of this entry as specified in
71: * the JVM specifications
72: */
73: char[] getName();
74:
75: /**
76: * Answer back the descriptor of this entry as specified in
77: * the JVM specifications.
78: *
79: * @return the descriptor of this entry as specified in
80: * the JVM specifications
81: */
82: char[] getDescriptor();
83: }
|