-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
12 changed files
with
130 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+1.7 KB
(100%)
org.eclipse.jdt.compiler.apt.tests/lib/apttestprocessors8.jar
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
...mpiler.apt.tests/resources/mod_locations/modules23/module.main/my/annot/MyAnnotation.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package my.annot; | ||
import java.lang.annotation.ElementType; | ||
import java.lang.annotation.Target; | ||
@Target(ElementType.TYPE_USE) | ||
public @interface MyAnnotation { | ||
String value() default ""; | ||
} |
41 changes: 41 additions & 0 deletions
41
...se.jdt.compiler.apt.tests/resources/mod_locations/modules23/module.main/my/mod/Main3.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package my.mod; | ||
|
||
import my.annot.*; | ||
|
||
public class Main3 implements @MyAnnotation Runnable { | ||
|
||
public void run() { | ||
} | ||
|
||
public static @MyAnnotation("1") int method1() { | ||
return 0; | ||
} | ||
|
||
public static @MyAnnotation("2") Integer method2() { | ||
return null; | ||
} | ||
|
||
public static @MyAnnotation("3") String method3() { | ||
return null; | ||
} | ||
|
||
public static String @MyAnnotation("4") [] method4() { | ||
return null; | ||
} | ||
|
||
public static java.util.@MyAnnotation("5") Set<@MyAnnotation("6") String> method5() { | ||
return null; | ||
} | ||
|
||
public static <@MyAnnotation("7") T extends @MyAnnotation("8") String> @MyAnnotation("9") T method6() { | ||
return null; | ||
} | ||
|
||
public static java.util.@MyAnnotation("10") Set<@MyAnnotation("11") ? extends @MyAnnotation("12") Number> method7() { | ||
return null; | ||
} | ||
|
||
public static <@MyAnnotation("13") S extends Number & Runnable> @MyAnnotation("14") S method8() { | ||
return null; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters