Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import java.lang.reflect.Method;

public class Main {
    public static void showInternalDebugLog() {
        try {
            Class<?> clz = Class.forName("com.avos.avoscloud.AVOSCloud");
            Method startMethod = clz.getDeclaredMethod("showInternalDebugLog", Boolean.TYPE);
            startMethod.setAccessible(true);
            startMethod.invoke(null, true);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}