/** * Gets the colloquial type name and human form of the type of the * given constant, when used as an encoded value. * * @param cst {@code non-null;} the constant * @return {@code non-null;} its type name and human form */ public static String constantToHuman(Constant cst) { int type = constantToValueType(cst); if (type == VALUE_NULL) { return "null"; } StringBuilder sb = new StringBuilder(); sb.append(cst.typeName()); sb.append(' '); sb.append(cst.toHuman()); return sb.toString(); }
/** * Gets the colloquial type name and human form of the type of the * given constant, when used as an encoded value. * * @param cst {@code non-null;} the constant * @return {@code non-null;} its type name and human form */ public static String constantToHuman(Constant cst) { int type = constantToValueType(cst); if (type == VALUE_NULL) { return "null"; } StringBuilder sb = new StringBuilder(); sb.append(cst.typeName()); sb.append(' '); sb.append(cst.toHuman()); return sb.toString(); }
/** * Gets the colloquial type name and human form of the type of the * given constant, when used as an encoded value. * * @param cst {@code non-null;} the constant * @return {@code non-null;} its type name and human form */ public static String constantToHuman(Constant cst) { int type = constantToValueType(cst); if (type == VALUE_NULL) { return "null"; } StringBuilder sb = new StringBuilder(); sb.append(cst.typeName()); sb.append(' '); sb.append(cst.toHuman()); return sb.toString(); }
/** * Gets the colloquial type name and human form of the type of the * given constant, when used as an encoded value. * * @param cst {@code non-null;} the constant * @return {@code non-null;} its type name and human form */ public static String constantToHuman(Constant cst) { int type = constantToValueType(cst); if (type == VALUE_NULL) { return "null"; } StringBuilder sb = new StringBuilder(); sb.append(cst.typeName()); sb.append(' '); sb.append(cst.toHuman()); return sb.toString(); }
/** * Gets the colloquial type name and human form of the type of the * given constant, when used as an encoded value. * * @param cst {@code non-null;} the constant * @return {@code non-null;} its type name and human form */ public static String constantToHuman(Constant cst) { int type = constantToValueType(cst); if (type == VALUE_NULL) { return "null"; } StringBuilder sb = new StringBuilder(); sb.append(cst.typeName()); sb.append(' '); sb.append(cst.toHuman()); return sb.toString(); }
/** * Gets the colloquial type name and human form of the type of the * given constant, when used as an encoded value. * * @param cst {@code non-null;} the constant * @return {@code non-null;} its type name and human form */ public static String constantToHuman(Constant cst) { int type = constantToValueType(cst); if (type == VALUE_NULL) { return "null"; } StringBuilder sb = new StringBuilder(); sb.append(cst.typeName()); sb.append(' '); sb.append(cst.toHuman()); return sb.toString(); }
/** * Gets the colloquial type name and human form of the type of the * given constant, when used as an encoded value. * * @param cst {@code non-null;} the constant * @return {@code non-null;} its type name and human form */ public static String constantToHuman(Constant cst) { int type = constantToValueType(cst); if (type == VALUE_NULL) { return "null"; } StringBuilder sb = new StringBuilder(); sb.append(cst.typeName()); sb.append(' '); sb.append(cst.toHuman()); return sb.toString(); }
/** * Gets the colloquial type name and human form of the type of the * given constant, when used as an encoded value. * * @param cst {@code non-null;} the constant * @return {@code non-null;} its type name and human form */ public static String constantToHuman(Constant cst) { int type = constantToValueType(cst); if (type == VALUE_NULL) { return "null"; } StringBuilder sb = new StringBuilder(); sb.append(cst.typeName()); sb.append(' '); sb.append(cst.toHuman()); return sb.toString(); }
int type = constantToValueType(cst);
int type = constantToValueType(cst); int arg;
int type = constantToValueType(cst); int arg;
int type = constantToValueType(cst); int arg;
int type = constantToValueType(cst); int arg;
int type = constantToValueType(cst); int arg;
int type = constantToValueType(cst); int arg;
int type = constantToValueType(cst); int arg;