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 {
    static String typeToString(Type paramType) {
        if ((paramType instanceof Class))
            return ((Class) paramType).getName();
        return paramType.toString();
    }
}