Implemented listStargates
This commit is contained in:
parent
afbca7b80b
commit
7549f9e502
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user