01: /* ===========================================================================
02: * $RCSfile: Fd.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: import java.io.*;
23: import java.lang.reflect.*;
24: import java.util.*;
25: import COM.rl.util.*;
26: import COM.rl.obf.classfile.*;
27:
28: /**
29: * Tree item representing a field.
30: *
31: * @author Mark Welsh
32: */
33: public class Fd extends MdFd {
34: // Constants -------------------------------------------------------------
35:
36: // Fields ----------------------------------------------------------------
37:
38: // Class Methods ---------------------------------------------------------
39:
40: // Instance Methods ------------------------------------------------------
41: /** Ctor. */
42: public Fd(TreeItem parent, boolean isSynthetic, String name,
43: String descriptor, int access) throws Exception {
44: super (parent, isSynthetic, name, descriptor, access);
45: }
46:
47: /** Return the display name of the descriptor types. */
48: protected String getDescriptorName() {
49: return ";";
50: }
51:
52: /** Find and add TreeItem references. */
53: public void findRefs(ClassFile cf, FieldInfo fieldInfo)
54: throws Exception {
55: // NOTE - no references from fields
56: }
57: }
|