/** * Helper for {@link #toString} and {@link #toHuman}. * * @param human whether to be human-oriented * @return {@code non-null;} the string form */ private String toString0(boolean human) { StringBuffer sb = new StringBuffer(40); sb.append(regString()); sb.append(":"); if (local != null) { sb.append(local.toString()); } Type justType = type.getType(); sb.append(justType); if (justType != type) { sb.append("="); if (human && (type instanceof Constant)) { sb.append(((Constant) type).toHuman()); } else { sb.append(type); } } return sb.toString(); }
/** * Helper for {@link #toString} and {@link #toHuman}. * * @param human whether to be human-oriented * @return {@code non-null;} the string form */ private String toString0(boolean human) { StringBuffer sb = new StringBuffer(40); sb.append(regString()); sb.append(":"); if (local != null) { sb.append(local.toString()); } Type justType = type.getType(); sb.append(justType); if (justType != type) { sb.append("="); if (human && (type instanceof CstString)) { sb.append(((CstString) type).toQuoted()); } else if (human && (type instanceof Constant)) { sb.append(type.toHuman()); } else { sb.append(type); } } return sb.toString(); }
/** * Helper for {@link #toString} and {@link #toHuman}. * * @param human whether to be human-oriented * @return {@code non-null;} the string form */ private String toString0(boolean human) { StringBuffer sb = new StringBuffer(40); sb.append(regString()); sb.append(":"); if (local != null) { sb.append(local.toString()); } Type justType = type.getType(); sb.append(justType); if (justType != type) { sb.append("="); if (human && (type instanceof CstString)) { sb.append(((CstString) type).toQuoted()); } else if (human && (type instanceof Constant)) { sb.append(type.toHuman()); } else { sb.append(type); } } return sb.toString(); }
/** * Helper for {@link #toString} and {@link #toHuman}. * * @param human whether to be human-oriented * @return {@code non-null;} the string form */ private String toString0(boolean human) { StringBuilder sb = new StringBuilder(40); sb.append(regString()); sb.append(":"); if (local != null) { sb.append(local.toString()); } Type justType = type.getType(); sb.append(justType); if (justType != type) { sb.append("="); if (human && (type instanceof CstString)) { sb.append(((CstString) type).toQuoted()); } else if (human && (type instanceof Constant)) { sb.append(type.toHuman()); } else { sb.append(type); } } return sb.toString(); }
/** * Helper for {@link #toString} and {@link #toHuman}. * * @param human whether to be human-oriented * @return {@code non-null;} the string form */ private String toString0(boolean human) { StringBuffer sb = new StringBuffer(40); sb.append(regString()); sb.append(":"); if (local != null) { sb.append(local.toString()); } Type justType = type.getType(); sb.append(justType); if (justType != type) { sb.append("="); if (human && (type instanceof CstString)) { sb.append(((CstString) type).toQuoted()); } else if (human && (type instanceof Constant)) { sb.append(type.toHuman()); } else { sb.append(type); } } return sb.toString(); }
/** * Helper for {@link #toString} and {@link #toHuman}. * * @param human whether to be human-oriented * @return {@code non-null;} the string form */ private String toString0(boolean human) { StringBuffer sb = new StringBuffer(40); sb.append(regString()); sb.append(":"); if (local != null) { sb.append(local.toString()); } Type justType = type.getType(); sb.append(justType); if (justType != type) { sb.append("="); if (human && (type instanceof CstString)) { sb.append(((CstString) type).toQuoted()); } else if (human && (type instanceof Constant)) { sb.append(type.toHuman()); } else { sb.append(type); } } return sb.toString(); }
/** * Helper for {@link #toString} and {@link #toHuman}. * * @param human whether to be human-oriented * @return {@code non-null;} the string form */ private String toString0(boolean human) { StringBuffer sb = new StringBuffer(40); sb.append(regString()); sb.append(":"); if (local != null) { sb.append(local.toString()); } Type justType = type.getType(); sb.append(justType); if (justType != type) { sb.append("="); if (human && (type instanceof CstString)) { sb.append(((CstString) type).toQuoted()); } else if (human && (type instanceof Constant)) { sb.append(type.toHuman()); } else { sb.append(type); } } return sb.toString(); }
sb.append(local.toString());
/** * Returns the local variable listing string for a single register spec. * * @param spec {@code non-null;} the spec to convert * @return {@code non-null;} the string form */ public static String localString(RegisterSpec spec) { return spec.regString() + ' ' + spec.getLocalItem().toString() + ": " + spec.getTypeBearer().toHuman(); }
/** * Returns the local variable listing string for a single register spec. * * @param spec {@code non-null;} the spec to convert * @return {@code non-null;} the string form */ public static String localString(RegisterSpec spec) { return spec.regString() + ' ' + spec.getLocalItem().toString() + ": " + spec.getTypeBearer().toHuman(); }
/** * Returns the local variable listing string for a single register spec. * * @param spec {@code non-null;} the spec to convert * @return {@code non-null;} the string form */ public static String localString(RegisterSpec spec) { return spec.regString() + ' ' + spec.getLocalItem().toString() + ": " + spec.getTypeBearer().toHuman(); }
/** * Returns the local variable listing string for a single register spec. * * @param spec {@code non-null;} the spec to convert * @return {@code non-null;} the string form */ public static String localString(RegisterSpec spec) { return spec.regString() + ' ' + spec.getLocalItem().toString() + ": " + spec.getTypeBearer().toHuman(); }
/** * Returns the local variable listing string for a single register spec. * * @param spec {@code non-null;} the spec to convert * @return {@code non-null;} the string form */ public static String localString(RegisterSpec spec) { return spec.regString() + ' ' + spec.getLocalItem().toString() + ": " + spec.getTypeBearer().toHuman(); }
/** * Returns the local variable listing string for a single register spec. * * @param spec {@code non-null;} the spec to convert * @return {@code non-null;} the string form */ public static String localString(RegisterSpec spec) { return spec.regString() + ' ' + spec.getLocalItem().toString() + ": " + spec.getTypeBearer().toHuman(); }
/** * Returns the local variable listing string for a single register spec. * * @param spec {@code non-null;} the spec to convert * @return {@code non-null;} the string form */ public static String localString(RegisterSpec spec) { return spec.regString() + ' ' + spec.getLocalItem().toString() + ": " + spec.getTypeBearer().toHuman(); }
/** * Returns the local variable listing string for a single register spec. * * @param spec {@code non-null;} the spec to convert * @return {@code non-null;} the string form */ public static String localString(RegisterSpec spec) { return spec.regString() + ' ' + spec.getLocalItem().toString() + ": " + spec.getTypeBearer().toHuman(); }