KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sf > javaguard > classfile > PoolAction


1 /**
2  * JavaGuard -- an obfuscation package for Java classfiles.
3  *
4  * Copyright (c) 2002 Thorsten Heit (theit@gmx.de)
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19  *
20  * The author may be contacted at theit@gmx.de.
21  *
22  *
23  * $Id: PoolAction.java,v 1.1 2002/05/08 11:49:16 glurk Exp $
24  */

25 package net.sf.javaguard.classfile;
26
27
28 /** A simple helper class that is used by pool walkers.
29  *
30  * @author <a HREF="mailto:theit@gmx.de">Thorsten Heit</a>
31  */

32 public class PoolAction {
33   /** Start an action on the given Utf8 entry.
34    * @param cpInfo the Utf8 entry in the constant pool
35    */

36   public void utf8Action(Utf8CpInfo cpInfo) {
37     defaultAction(cpInfo);
38   }
39   
40   
41   /** Start an action on the given constant pool entry.
42    * @param cpInfo the constant pool entry
43    */

44   public void defaultAction(CpInfo cpInfo) {
45   }
46 }
47
Popular Tags