This repository has been archived by the owner on Apr 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#5] modify Elements#getAllAnnotationMirrors can not be used
in method extractAnnotations, one could use Elements#getAllAnnotationMirrors instead of Elements#getAnnotationMirrors, which is a wrong answer but was not visible with the provided sample Class
- Loading branch information
Showing
3 changed files
with
23 additions
and
1 deletion.
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
10 changes: 10 additions & 0 deletions
10
niveau_2/exo1/src/main/java/fr/devoxx/niveau2/exo1/etape2/AnnotatedSuperClass.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,10 @@ | ||
package fr.devoxx.niveau2.exo1.etape2; | ||
|
||
/** | ||
* AnnotatedSuperClass - | ||
* | ||
* @author Sébastien Lesaint | ||
*/ | ||
@InheritedMeta | ||
public class AnnotatedSuperClass { | ||
} |
12 changes: 12 additions & 0 deletions
12
niveau_2/exo1/src/main/java/fr/devoxx/niveau2/exo1/etape2/InheritedMeta.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,12 @@ | ||
package fr.devoxx.niveau2.exo1.etape2; | ||
|
||
import java.lang.annotation.Inherited; | ||
|
||
/** | ||
* InheritedMeta - | ||
* | ||
* @author Sébastien Lesaint | ||
*/ | ||
@Inherited | ||
public @interface InheritedMeta { | ||
} |