public class

ReflectionHelper

extends Object
java.lang.Object
   ↳ com.google.gwt.user.client.rpc.impl.ReflectionHelper

Class Overview

Provides access to reflection capability, but only when running from bytecode.

Summary

Public Constructors
ReflectionHelper()
Public Methods
static Class<?> loadClass(String klass)
Loads klass using Class.forName.
static <T> T newInstance(Class<T> klass)
Creates a new instance of klass.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ReflectionHelper ()

Public Methods

public static Class<?> loadClass (String klass)

Loads klass using Class.forName.

Throws
Exception

public static T newInstance (Class<T> klass)

Creates a new instance of klass. The class must have a no-arg constructor. The constructor may have any access modifier (for example, private).

Throws
Exception