01: /*
02: * NameAndType.java Copyright (c) 2006,07 Swaroop Belur
03: *
04: * This program is free software; you can redistribute it and/or
05: * modify it under the terms of the GNU General Public License
06: * as published by the Free Software Foundation; either version 2
07: * of the License, or (at your option) any later version.
08:
09: * This program is distributed in the hope that it will be useful,
10: * but WITHOUT ANY WARRANTY; without even the implied warranty of
11: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12: * GNU General Public License for more details.
13:
14: * You should have received a copy of the GNU General Public License
15: * along with this program; if not, write to the Free Software
16: * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17: *
18: */
19:
20: package net.sf.jdec.constantpool;
21:
22: public class NameAndType {
23:
24: private int utf8pointer;
25: private int description;
26: private int tag;
27: private int cppos;
28:
29: public int getCppos() {
30: return cppos;
31: }
32:
33: public void setCppos(int cppos) {
34: this .cppos = cppos;
35: }
36:
37: public int getTag() {
38: return tag;
39: }
40:
41: public void setTag(int tag) {
42: this .tag = tag;
43: }
44:
45: public int getDescription() {
46: return description;
47: }
48:
49: public void setDescription(int description) {
50: this .description = description;
51: }
52:
53: public int getUtf8pointer() {
54: return utf8pointer;
55: }
56:
57: public void setUtf8pointer(int utf8pointer) {
58: this.utf8pointer = utf8pointer;
59: }
60:
61: }
|