Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import java.lang.reflect.Type;

public class Main {
    public static Type getMethodType(Class<?> paramClass, String paramString) {
        try {
            Type localType = paramClass.getMethod(paramString, new Class[0]).getGenericReturnType();
            return localType;
        } catch (Exception localException) {
        }
        return null;
    }
}