01: /* InnerClassInfo Copyright (C) 1999-2002 Jochen Hoenicke.
02: *
03: * This program is free software; you can redistribute it and/or modify
04: * it under the terms of the GNU Lesser General Public License as published by
05: * the Free Software Foundation; either version 2, or (at your option)
06: * any later version.
07: *
08: * This program is distributed in the hope that it will be useful,
09: * 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: InnerClassInfo.java,v 1.2.2.1 2002/05/28 17:34:00 hoenicke Exp $
18: */
19:
20: package jode.bytecode;
21:
22: /**
23: * A simple class containing the info about an inner class.
24: */
25: public class InnerClassInfo {
26: public String inner, outer;
27: public String name;
28: public int modifiers;
29:
30: public InnerClassInfo(String inner, String outer, String name,
31: int modif) {
32: this .inner = inner;
33: this .outer = outer;
34: this .name = name;
35: this .modifiers = modif;
36: }
37:
38: public String toString() {
39: return "InnerClassInfo[" + inner + "," + outer + "," + name
40: + "," + java.lang.reflect.Modifier.toString(modifiers)
41: + "]";
42: }
43: }
|