code: public static ReturnType getReturnTypeDescriptor(String methodDescriptor) {
  		int index = methodDescriptor.indexOf(')') + 1;
  		if (methodDescriptor.charAt(index) == 'L') {
  			return new ReturnType(methodDescriptor.substring(index + 1, methodDescriptor.length() - 1), Kind.REFERENCE);
  		}
  		else {
  			return new ReturnType(methodDescriptor.substring(index), methodDescriptor.charAt(index) == '[' ? Kind.ARRAY
  					: Kind.PRIMITIVE);
  		}
  	}
docs: Discover the descriptor for the return type. It may be a primitive (so one char) or a reference type (so a/b/c,
  with no 'L' or ';') or it may be an array descriptor ([Ljava/lang/String;).
  
  @param methodDescriptor method descriptor
  @return return type descriptor (with any 'L' or ';' trimmed off)