MCPcopy Create free account
hub / github.com/ReadyTalk/avian / newInstance

Method newInstance

classpath/java/lang/reflect/Constructor.java:69–76  ·  view source on GitHub ↗
(Object ... arguments)

Source from the content-addressed store, hash-verified

67 private static native Object make(avian.VMClass c);
68
69 public T newInstance(Object ... arguments)
70 throws InvocationTargetException, InstantiationException,
71 IllegalAccessException
72 {
73 T v = (T) make(method.getDeclaringClass().vmClass);
74 method.invoke(v, arguments);
75 return v;
76 }
77
78 public Class<?>[] getExceptionTypes() {
79 throw new UnsupportedOperationException("not yet implemented");

Callers

nothing calls this directly

Calls 3

makeMethod · 0.95
getDeclaringClassMethod · 0.65
invokeMethod · 0.65

Tested by

no test coverage detected