| net.sf.jga.fn.property.ConstructDefault
ConstructDefault | public class ConstructDefault extends Generator (Code) | | Generator that constructs an object of the given class using its default
constructor.
Copyright © 2004-2005 David A. Hall
author: David A. Hall |
Constructor Summary | |
public | ConstructDefault(Class<R> ctorclass) Builds a generator that will return instances of the class
ctorclass , built using the default constructor. |
serialVersionUID | final static long serialVersionUID(Code) | | |
ConstructDefault | public ConstructDefault(Class<R> ctorclass)(Code) | | Builds a generator that will return instances of the class
ctorclass , built using the default constructor.
throws: IllegalArgumentException - if the constructor cannot be found throws: IllegalArgumentException - if the class argument is omitted or does notdefine an accessible default constructor. |
accept | public void accept(net.sf.jga.fn.Visitor v)(Code) | | Calls the Visitor's visit(ConstructDefault) method, if it
implements the nested Visitor interface.
|
gen | public R gen()(Code) | | Builds an object via the default constructor
the object built by the constructor |
|
|