-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTest.java
More file actions
22 lines (22 loc) · 729 Bytes
/
Test.java
File metadata and controls
22 lines (22 loc) · 729 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//package com.sumscope.idb.dcs.DealCodeGen;
//
//import java.lang.reflect.Field;
//import java.util.HashMap;
//import java.util.Map;
//
///**
// * Created by shilong.zhang on 2018/2/12.
// */
//public class Test {
// public static void main(String[] args) throws IllegalAccessException {
// DcsDeal dcsDeal = new BondDcsDeal();
// Map<String, String> fields = new HashMap<>();
// for(Field field : dcsDeal.getClass().getDeclaredFields()) {
// field.setAccessible(true);
// fields.put(field.getName(), (String) field.get(dcsDeal));
// }
//
// System.out.println(fields.size());
// fields.forEach((k,v)-> System.out.println(k.concat("->").concat(v)));
// }
//}