public static String buildAction(Class<?> clazz, String action) {
        return new StringBuilder().append(clazz.getCanonicalName()).append(".").append(action).toString();
    }
public static String buildAction ( Class < ? > clazz , String action ) { return new StringBuilder ( ) . append ( clazz . getCanonicalName ( ) ) . append ( "." ) . append ( action ) . toString ( ) ; }
Build a custom intent action name, like "jp.co.nohana.amalgam.Sample.ACTION_SAMPLE".
@param clazz the class name.
@param action the action name.
@return the custom action name.