Skip to content
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.

Commit

Permalink
[#5] modify Elements#getAllAnnotationMirrors can not be used
Browse files Browse the repository at this point in the history
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
lesaint committed Mar 18, 2015
1 parent 66810a6 commit 16d5f7e
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
@Flag
@Meta("La robe est blanc et or, moi je te dis !")
public final class AnnotatedClass {
public final class AnnotatedClass extends AnnotatedSuperClass {
}
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 {
}
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 {
}

0 comments on commit 16d5f7e

Please sign in to comment.