private static void appendCamelCase(StringBuilder sb, @Nullable String word) {
   if (word != null) {
     if (sb.length() == 0) {
       sb.append(word);
     } else {
       sb.append(StringHelper.capitalize(word));
     }
   }
 }
示例#2
0
 @NonNull
 public String getTaskName(@NonNull String prefix, @NonNull String suffix) {
   return prefix + StringHelper.capitalize(getVariantConfiguration().getFullName()) + suffix;
 }