throw new RuntimeException(String.format("Method %s.%s() returns void.", activeClass.getName(),
methodName));
Type returnType = GenericsUtils.extractActualType(activeType, method);
return new Term(returnType, toUniqueId(method), InternalUtils.toAnnotationProvider(method), new InstructionBuilderCallback()
{
public void doBuild(InstructionBuilder builder)
{
invokeMethod(builder, method, invokeNode, 1);