MCPcopy Index your code
hub / github.com/beanshell/beanshell / cantFindConstructor

Method cantFindConstructor

src/bsh/Reflect.java:874–880  ·  view source on GitHub ↗
(Class clas, Class[] types)

Source from the content-addressed store, hash-verified

872
873
874 private static ReflectError cantFindConstructor(Class clas, Class[] types) {
875 if (types.length == 0) {
876 return new ReflectError("Can't find default constructor for: " + clas);
877 } else {
878 return new ReflectError("Can't find constructor: " + StringUtil.methodString(clas.getName(), types) + " in class: " + clas.getName());
879 }
880 }
881
882
883 private static boolean isPublic(Member member) {

Callers 1

constructObjectMethod · 0.95

Calls 2

methodStringMethod · 0.95
getNameMethod · 0.45

Tested by

no test coverage detected