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