export function makeDalvikClassHumanReadable()

in sapp/ui/frontend/src/HumanReadable.js [68:78]


export function makeDalvikClassHumanReadable(input: string): string {
  switch (input) {
    case 'I': return 'int';
    case 'V': return 'void';
    case 'Z': return 'boolean';
  }

  const split = input.split('/');
  const last = split[split.length - 1];
  return last[last.length-1] === ';' ? last.slice(0, -1) : last;
}