01: /*******************************************************************************
02: * Copyright (c) 2004, 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 type table entry as specified in the JVM specifications
14: * (added in J2SE 1.5).
15: *
16: * This interface may be implemented by clients.
17: *
18: * @since 3.0
19: */
20: public interface ILocalVariableTypeTableEntry {
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 signature index in the constant pool of this entry as specified in
51: * the JVM specifications.
52: *
53: * @return the signature index in the constant pool of this entry as specified in
54: * the JVM specifications
55: */
56: int getSignatureIndex();
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 signature of this entry as specified in
78: * the JVM specifications.
79: *
80: * @return the signature of this entry as specified in
81: * the JVM specifications
82: */
83: char[] getSignature();
84: }
|