MCPcopy Create free account
hub / github.com/ddf-project/DDF / classInvoke

Method classInvoke

core/src/main/java/io/ddf/util/Utils.java:549–555  ·  view source on GitHub ↗
(Object... args)

Source from the content-addressed store, hash-verified

547
548
549 public Object classInvoke(Object... args) throws DDFException {
550 try {
551 return this.getMethod().invoke(null, args);
552 } catch (Exception e) {
553 throw new DDFException(e.getMessage(), e.getCause());
554 }
555 }
556
557 public Object instanceInvoke(Object... args) throws DDFException {
558 if (this.getObject() == null) throw new DDFException("An object is required to invoke the given method");

Callers 1

trainMethod · 0.80

Calls 1

getMethodMethod · 0.95

Tested by

no test coverage detected