mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-09-10 14:45:51 +02:00
25 lines
497 B
Java
25 lines
497 B
Java
![]() |
import java.util.ArrayList;
|
||
|
import java.util.Iterator;
|
||
|
import java.util.Properties;
|
||
|
|
||
|
public class LTWHelloWorld extends ArrayList {
|
||
|
|
||
|
private String message = "Hello World!";
|
||
|
|
||
|
public void println () {
|
||
|
System.out.println(message);
|
||
|
}
|
||
|
|
||
|
public static void main(String[] args) {
|
||
|
LTWHelloWorld hw = new LTWHelloWorld();
|
||
|
hw.println();
|
||
|
for (int i = 0; i < args.length; i++) {
|
||
|
String jp = args[i];
|
||
|
if (!hw.contains(jp)) {
|
||
|
throw new RuntimeException(jp + " missing");
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|