Java tutorial
//package com.java2s; import java.lang.reflect.Field; public class Main { public static Field[] getDeclaredFields(Object paramObject) { Object localObject = null; if (paramObject != null) { return null; } else { try { Class localClass = paramObject.getClass(); localObject = null; if (localClass != null) { Field[] arrayOfField = localClass.getDeclaredFields(); return arrayOfField; } } catch (Exception var4) { ; } return null; } } }