package com.dw.lib;

public class ReflectionHelper {

	public ReflectionHelper() {
		
	}
	
	public <T> String getName(Class<T> c) {
		return c.getName();
	}
	
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}

@@ -14,16 +14,45 @@
 w.lib;%0A%0A
+import java.lang.reflect.*;%0A%0A
 public c
@@ -193,79 +193,420 @@
 lic 
-static void main(String%5B%5D args) %7B%0A%09%09// TODO Auto-generated method stub%0A
+%3CT%3E Field%5B%5D getFields(Class%3CT%3E c) %7B%0A%09%09Field%5B%5D fields = c.getFields();%0A%09%09return fields;%0A%09%7D%0A%09%0A%09public %3CT%3E Method%5B%5D getMethods(Class%3CT%3E c) %7B%0A%09%09Method%5B%5D methods = c.getMethods();%0A%09%09return methods;%0A%09%7D%0A%09%0A%09public static void main(String%5B%5D args) %7B%0A%09%09// TODO Auto-generated method stub%0A%09%09ReflectionHelper r = new ReflectionHelper();%0A%09%09String className = r.getName(ReflectionHelper.class);%0A%09%09System.out.println(className);
 %0A%09%7D%0A

add reflection helper for java lib