checkLocalFunctionCallFromSameModuleAugmentation(method, callerClass.getName());
types = method.getParameterTypes();
if (method.isVarArgs() && isLastArgumentAnArray(types.length, args)) {
handle = caller.unreflect(method).asFixedArity().asType(type);
} else {
handle = caller.unreflect(method).asType(type);
}
} else if (result instanceof Constructor) {
Constructor constructor = (Constructor) result;
types = constructor.getParameterTypes();
if (constructor.isVarArgs() && isLastArgumentAnArray(types.length, args)) {