Implemented listStargates
This commit is contained in:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user