Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package reflection.exerc_one;
- import java.util.ArrayList;
- import java.util.List;
- public final class ContainerForTest {
- private static List<Test> tests = new ArrayList<Test>();
- public static List<Test> getTests() {
- return tests;
- }
- public static void setTests(Test test) {
- tests.add(test);
- }
- public static void showInfoAboutClass() {
- TestReflection tr = new TestReflection();
- for (int i = 0; i < tests.size(); i++) {
- tr.getInfoAboutClass(tests.get(i));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement