/** * Build and return a new instance, using the appropriate mechanism. */ @Override public Object buildNewInstance() throws DescriptorException { // PERF: Just check method-name. if (this.methodName == null) { return buildNewInstanceUsingDefaultConstructor(); } else { return buildNewInstanceUsingFactory(); } }
/** * Build and return a new instance, using the appropriate mechanism. */ public Object buildNewInstance() throws DescriptorException { // PERF: Just check method-name. if (this.methodName == null) { return buildNewInstanceUsingDefaultConstructor(); } else { return buildNewInstanceUsingFactory(); } }
/** * Build and return a new instance, using the appropriate mechanism. */ @Override public Object buildNewInstance() throws DescriptorException { // PERF: Just check method-name. if (this.methodName == null) { return buildNewInstanceUsingDefaultConstructor(); } else { return buildNewInstanceUsingFactory(); } }