27 lines
546 B
Java
Raw Normal View History

2015-05-18 23:05:20 -07:00
//: annotations/simplest/SimpleTest.java
2015-05-29 14:18:51 -07:00
// <20>2015 MindView LLC: see Copyright.txt
2015-05-18 23:05:20 -07:00
// Test the "Simple" annotation
package annotations.simplest;
@Simple
public class SimpleTest {
@Simple
int i;
@Simple
public SimpleTest() {}
@Simple
public void foo() {
System.out.println("SimpleTest.foo()");
}
@Simple
2015-05-27 23:30:19 -07:00
public void bar(String s, int i, float f) {
System.out.println("SimpleTest.bar()");
}
@Simple
2015-05-18 23:05:20 -07:00
public static void main(String[] args) {
@Simple
SimpleTest st = new SimpleTest();
st.foo();
}
} ///:~