/** * Get the DBus member input signature. * * @param method The method. */ public static String getInputSig(Method method) throws AnnotationBusException { BusMethod busMethod = method.getAnnotation(BusMethod.class); if (busMethod != null && busMethod.signature().length() > 0) { return Signature.typeSig(method.getGenericParameterTypes(), busMethod.signature()); } BusSignal busSignal = method.getAnnotation(BusSignal.class); if (busSignal != null && busSignal.signature().length() > 0) { return Signature.typeSig(method.getGenericParameterTypes(), busSignal.signature()); } return Signature.typeSig(method.getGenericParameterTypes(), null); }