MCPcopy Index your code
hub / github.com/beanshell/beanshell / staticInit

Method staticInit

src/bsh/Interpreter.java:1128–1147  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1126 }
1127
1128 static void staticInit()
1129 {
1130 try {
1131 systemLineSeparator = System.getProperty("line.separator");
1132 debug = System.err;
1133 DEBUG = Boolean.getBoolean("debug");
1134 TRACE = Boolean.getBoolean("trace");
1135 LOCALSCOPING = Boolean.getBoolean("localscoping");
1136 COMPATIBIILTY = Boolean.getBoolean("bsh.compatibility");
1137 String outfilename = System.getProperty("outfile");
1138 if ( outfilename != null )
1139 redirectOutputToFile( outfilename );
1140 } catch ( SecurityException e ) {
1141 System.err.println("Could not init static:"+e);
1142 } catch ( Exception e ) {
1143 System.err.println("Could not init static(2):"+e);
1144 } catch ( Throwable e ) {
1145 System.err.println("Could not init static(3):"+e);
1146 }
1147 }
1148
1149 /**
1150 Specify the source of the text from which this interpreter is reading.

Callers 1

InterpreterClass · 0.95

Calls 3

redirectOutputToFileMethod · 0.95
getBooleanMethod · 0.80
printlnMethod · 0.65

Tested by

no test coverage detected