Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import java.lang.reflect.Field;

public class Main {
    public static Class<?> mCurrentClass;

    public static Object getStaticProperty(String paramString1, String paramString2) {
        setClass(paramString1);
        Field localField = getField(paramString2);
        Object localObject1 = null;
        if (localField != null) {
            ;
        }

        try {
            Object localIllegalArgumentException = localField.get((Object) null);
            return localIllegalArgumentException;
        } catch (IllegalArgumentException var5) {
            return null;
        } catch (IllegalAccessException var6) {
            return null;
        }
    }

    public static final boolean setClass(String paramString) {
        try {
            mCurrentClass = Class.forName(paramString);
            if (mCurrentClass != null) {
                return true;
            }
        } catch (ClassNotFoundException var2) {
            ;
        }

        return false;
    }

    private static final Field getField(String paramString) {
        return null;
    }
}