aboutsummaryrefslogtreecommitdiffstats
path: root/weaver/testsrc/FancyHelloWorld.java
blob: 96bd4a0679409e83feb20c58fa0e687057d3b240 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import java.io.PrintStream;

/**
 * @version 	1.0
 * @author
 */
public abstract class FancyHelloWorld {
    public static void main(String[] args) {
    	PrintStream out = System.out;
    	try {
    		out.println("bye");
    	} catch (Exception e) {
    		out.println(e);
    	} finally {
    		out.println("finally");
    	}
    }
    
    public static String getName() {
    	int x = 0;
    	x += "name".hashCode();
    	return "name" + x;
    }
}