equal
deleted
inserted
replaced
61 import com.sun.org.apache.bcel.internal.Constants; |
61 import com.sun.org.apache.bcel.internal.Constants; |
62 import com.sun.org.apache.bcel.internal.util.SyntheticRepository; |
62 import com.sun.org.apache.bcel.internal.util.SyntheticRepository; |
63 import com.sun.org.apache.bcel.internal.util.ClassVector; |
63 import com.sun.org.apache.bcel.internal.util.ClassVector; |
64 import com.sun.org.apache.bcel.internal.util.ClassQueue; |
64 import com.sun.org.apache.bcel.internal.util.ClassQueue; |
65 import com.sun.org.apache.bcel.internal.generic.Type; |
65 import com.sun.org.apache.bcel.internal.generic.Type; |
|
66 import com.sun.org.apache.xalan.internal.utils.SecuritySupport; |
66 |
67 |
67 import java.io.*; |
68 import java.io.*; |
68 import java.util.StringTokenizer; |
69 import java.util.StringTokenizer; |
69 |
70 |
70 /** |
71 /** |
75 |
76 |
76 * The intent of this class is to represent a parsed or otherwise existing |
77 * The intent of this class is to represent a parsed or otherwise existing |
77 * class file. Those interested in programatically generating classes |
78 * class file. Those interested in programatically generating classes |
78 * should see the <a href="../generic/ClassGen.html">ClassGen</a> class. |
79 * should see the <a href="../generic/ClassGen.html">ClassGen</a> class. |
79 |
80 |
|
81 * @version $Id: JavaClass.java,v 1.4 2007-07-19 04:34:42 ofung Exp $ |
80 * @see com.sun.org.apache.bcel.internal.generic.ClassGen |
82 * @see com.sun.org.apache.bcel.internal.generic.ClassGen |
81 * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A> |
83 * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A> |
82 */ |
84 */ |
83 public class JavaClass extends AccessFlags implements Cloneable, Node { |
85 public class JavaClass extends AccessFlags implements Cloneable, Node { |
84 private String file_name; |
86 private String file_name; |
449 static { |
451 static { |
450 // Debugging ... on/off |
452 // Debugging ... on/off |
451 String debug = null, sep = null; |
453 String debug = null, sep = null; |
452 |
454 |
453 try { |
455 try { |
454 debug = System.getProperty("JavaClass.debug"); |
456 debug = SecuritySupport.getSystemProperty("JavaClass.debug"); |
455 // Get path separator either / or \ usually |
457 // Get path separator either / or \ usually |
456 sep = System.getProperty("file.separator"); |
458 sep = SecuritySupport.getSystemProperty("file.separator"); |
457 } |
459 } |
458 catch (SecurityException e) { |
460 catch (SecurityException e) { |
459 // falls through |
461 // falls through |
460 } |
462 } |
461 |
463 |