Implemented listStargates

This commit is contained in:
Bokros Bálint 2016-04-25 21:52:55 +02:00
parent afbca7b80b
commit 7549f9e502

View File

@ -78,6 +78,13 @@ public class Tester {
} }
} }
void listStargates() {
System.out.println(Stargate.blueStargate);
System.out.println(Stargate.yellowStargate);
System.out.println(Stargate.redStargate);
System.out.println(Stargate.greenStargate);
}
/* custom Test annotation */ /* custom Test annotation */
@Target(ElementType.METHOD) // it's for methods @Target(ElementType.METHOD) // it's for methods
@Retention(RetentionPolicy.RUNTIME) // we want to retain annotations in runtime @Retention(RetentionPolicy.RUNTIME) // we want to retain annotations in runtime