Java tutorial
//package com.java2s; import java.lang.reflect.Field; public class Main { public static final int getStaticIntValue(String paramString, int paramInt) { Field localField = getField(paramString); if (localField == null) { return paramInt; } else { try { paramInt = localField.getInt((Object) null); return paramInt; } catch (IllegalArgumentException var4) { return paramInt; } catch (IllegalAccessException var5) { return paramInt; } } } private static final Field getField(String paramString) { return null; } }