jaroslav@604: /** jaroslav@604: * Back 2 Browser Bytecode Translator jaroslav@604: * Copyright (C) 2012 Jaroslav Tulach jaroslav@604: * jaroslav@604: * This program is free software: you can redistribute it and/or modify jaroslav@604: * it under the terms of the GNU General Public License as published by jaroslav@604: * the Free Software Foundation, version 2 of the License. jaroslav@604: * jaroslav@604: * This program is distributed in the hope that it will be useful, jaroslav@604: * but WITHOUT ANY WARRANTY; without even the implied warranty of jaroslav@604: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the jaroslav@604: * GNU General Public License for more details. jaroslav@604: * jaroslav@604: * You should have received a copy of the GNU General Public License jaroslav@604: * along with this program. Look for COPYING file in the top folder. jaroslav@604: * If not, see http://opensource.org/licenses/GPL-2.0. jaroslav@604: */ jaroslav@604: package org.apidesign.bck2brwsr.emul.reflect; jaroslav@604: jaroslav@604: import java.lang.reflect.Constructor; jaroslav@604: import java.lang.reflect.Type; jaroslav@604: import java.lang.reflect.TypeVariable; jaroslav@604: jaroslav@604: /** jaroslav@604: * jaroslav@604: * @author Jaroslav Tulach jaroslav@604: */ jaroslav@604: public abstract class TypeProvider { jaroslav@604: private TypeProvider() { jaroslav@604: } jaroslav@604: jaroslav@604: public static TypeProvider getDefault() { jaroslav@604: return null; jaroslav@604: } jaroslav@604: jaroslav@604: public abstract TypeVariable>[] getTypeParameters(Constructor c); jaroslav@604: public abstract Type[] getGenericParameterTypes(Constructor c); jaroslav@604: public abstract Type[] getGenericExceptionTypes(Constructor c); jaroslav@604: jaroslav@604: }