public static String getReturnSignature ( String methodSig ) { int parenPos = methodSig . indexOf ( ' ' ) ; if ( parenPos < 0 ) { return "?" ; } return methodSig . substring ( parenPos + 1 ) ; }
gets the return type signature from a method signature