01: /* ===========================================================================
02: * $RCSfile: NameListDown.java,v $
03: * ===========================================================================
04: *
05: * RetroGuard -- an obfuscation package for Java classfiles.
06: *
07: * Copyright (c) 1998-2006 Mark Welsh (markw@retrologic.com)
08: *
09: * This program can be redistributed and/or modified under the terms of the
10: * Version 2 of the GNU General Public License as published by the Free
11: * Software Foundation.
12: *
13: * This program is distributed in the hope that it will be useful,
14: * but WITHOUT ANY WARRANTY; without even the implied warranty of
15: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16: * GNU General Public License for more details.
17: *
18: */
19:
20: package COM.rl.obf;
21:
22: /**
23: * Interface to a list of method and field names and descriptors -- used for checking
24: * if a name/descriptor is reserved through a derived class/interface.
25: *
26: * @author Mark Welsh
27: */
28: public interface NameListDown {
29: /** Is the method reserved because of its reservation down the class hierarchy? */
30: public String getMethodObfNameDown(Cl caller, String name,
31: String descriptor) throws Exception;
32:
33: /** Is the field reserved because of its reservation down the class hierarchy? */
34: public String getFieldObfNameDown(Cl caller, String name)
35: throws Exception;
36: }
|