mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-30 05:54:53 +02:00
488 lines
13 KiB
Java
488 lines
13 KiB
Java
|
public class BigMethod {
|
||
|
|
||
|
public void i_am_a_big_method() {
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
for (int i = 0; i < 1; i++) {
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
System.out.print(".");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static void main(String[] args) {
|
||
|
new BigMethod().i_am_a_big_method();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
aspect GoBang {
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
before(): call(* *(..)) && withincode(void i_am_a_big_method()) {
|
||
|
System.err.println("Kaboom");
|
||
|
}
|
||
|
}
|