KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jode > decompiler > LocalVarEntry


1 /* LocalVarEntry Copyright (C) 1999-2002 Jochen Hoenicke.
2  *
3  * This program is free software; you can redistribute it and/or modify
4  * it under the terms of the GNU Lesser General Public License as published by
5  * the Free Software Foundation; either version 2, or (at your option)
6  * any later version.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU Lesser General Public License
14  * along with this program; see the file COPYING.LESSER. If not, write to
15  * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
16  *
17  * $Id: LocalVarEntry.java,v 1.1.4.1 2002/05/28 17:34:03 hoenicke Exp $
18  */

19
20 package jode.decompiler;
21 import jode.type.Type;
22
23 public class LocalVarEntry {
24     String JavaDoc name;
25     Type type;
26     int startAddr;
27     int endAddr;
28     LocalVarEntry next;
29     
30     public LocalVarEntry(int s, int e, String JavaDoc n, Type t) {
31     startAddr = s;
32     endAddr = e;
33     name = n;
34     type = t;
35     next = null;
36     }
37
38     public String JavaDoc getName() {
39     return name;
40     }
41
42     public Type getType() {
43     return type;
44     }
45 }
46
Popular Tags