gnu.gcj.runtime
Class Reflect
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
allocateObject
public static Object allocateObject(Class klass,
Constructor constructor)
Allocate an object whose class is the indicated class, using the
given constructor. Unlike Constructor.newInstance
, the
constructor need not be declared in the indicated class -- it
can be a constructor from any superclass. Only a no-argument
constructor is allowed.
Copyright (C) 2006 Free Software Foundation
This file is part of libgcj.
This software is copyrighted work licensed under the terms of the
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
details.