Last active
December 19, 2015 23:49
-
-
Save vaskoz/6037239 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
@interface Foo {} | |
interface Bar {} | |
public class Annotation { | |
public static void main(String[] args) { | |
System.out.println("Foo annotation super interfaces"); | |
for (Class<?> klazz : Foo.class.getInterfaces()) | |
System.out.println(klazz); | |
System.out.println("Bar interface super interfaces"); | |
for (Class<?> klazz : Bar.class.getInterfaces()) | |
System.out.println(klazz); | |
} | |
} |
This file contains hidden or 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
Foo annotation super interfaces | |
interface java.lang.annotation.Annotation | |
Bar interface super interfaces |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment