Code example for Constructor

Methods: getDeclaringClass

0
    } 
 
    @Override 
    public String getName() {
        // this is different from the constructor name which is the full name 
        return constructor.getDeclaringClass().getSimpleName();
    } 
 
    @Override 
    protected Member getMember() {
        return constructor;
    } 
 
    /** 
     * Create a new instance (implements Function). 
     * 
     * @param input the constructor arguments. 
     * @return a new instance. 
     */ 
    @Override 
    public T apply(Object... input) {