From fa63feda31a6a9656173a63dc057993d98469305 Mon Sep 17 00:00:00 2001 From: Alexander Kriegisch Date: Tue, 13 Jul 2021 12:07:45 +0700 Subject: Fix some AsciiDoc links (WIP) Signed-off-by: Alexander Kriegisch --- docs/dist/doc/README-180.html | 92 ------------------------------------------- 1 file changed, 92 deletions(-) delete mode 100644 docs/dist/doc/README-180.html (limited to 'docs/dist/doc/README-180.html') diff --git a/docs/dist/doc/README-180.html b/docs/dist/doc/README-180.html deleted file mode 100644 index 4c2f52486..000000000 --- a/docs/dist/doc/README-180.html +++ /dev/null @@ -1,92 +0,0 @@ - - -AspectJ 1.8.0 Readme - - - - -
-© Copyright 2014 Contributors. -All rights reserved. -
- -

AspectJ 1.8.0 Readme

- -

The full list of resolved issues in 1.8.0 is available -here.

- - - -

Notable changes

- -

Java 8 compilation

- -

AspectJ has been updated to the latest available Eclipse Java -compiler version that compiles Java8 code (the version available as a feature patch on top of Eclipse 4.3.2).

-

-

Here is a sample AspectJ8 program:

- -

-=== 8< ==== C.java ==== 8< ===
-import java.util.Arrays;
-
-interface I {
-    // Default method
-    default void foo() {
-        System.out.println("ABC");
-    }
-}
-
-public class C implements I{
-    public static void main(String[] args) {
-        new C().foo();
-        // Lambda
-        Runnable r = () -> { System.out.println("hello world!"); };
-        r.run();
-        // Used Java8 b97
-        Arrays.asList(MyClass.doSomething()).forEach((p) -> System.out.println(p));
-    }
-}
-
-aspect X {
-	before(): execution(* I.foo()) {
-   		System.out.println("I.foo running");
-	}
-	before(): staticinitialization(!X) {
-		System.out.println("Clazz "+thisJoinPointStaticPart);
-	}
-}
-
-
-class Utils {
-    public static int compareByLength(String in, String out) {
-        return in.length() - out.length();
-    }
-}
-
-class MyClass {
-    public static String[] doSomething() {
-        String []args = new String[]{"4444","333","22","1"};
-        // Method reference
-        Arrays.sort(args,Utils::compareByLength);
-        return args;
-    }
-}
-=== 8< ==== C.java ==== 8< ===
-
- - - - -- cgit v1.2.3