/** Form a string listing all elements with comma as the separator character. */ @Override public String toString() { return toString(","); }
/** Form a string listing all elements with comma as the separator character. */ @Override public String toString() { return toString(","); }
/** Form a string listing all elements with comma as the separator character. */ @Override public String toString() { return toString(","); }
MirroredTypesExceptionProxy(List<TypeMirror> ts) { types = ts; typeStrings = ts.toString(); }
MirroredTypesExceptionProxy(List<TypeMirror> ts) { types = ts; typeStrings = ts.toString(); }
/** Form a string listing all elements with comma as the separator character. */ @Override public String toString() { return toString(","); }
MirroredTypesExceptionProxy(List<TypeMirror> ts) { types = ts; typeStrings = ts.toString(); }
MirroredTypesExceptionProxy(List<TypeMirror> ts) { types = ts; typeStrings = ts.toString(); }
private void printRoundInfo(PrintWriter xout, int roundNumber, List<ClassSymbol> topLevelClasses, Set<TypeElement> annotationsPresent, boolean lastRound) { if (printRounds || verbose) { xout.println(Log.getLocalizedString("x.print.rounds", roundNumber, "{" + topLevelClasses.toString(", ") + "}", annotationsPresent, lastRound)); } }
private void printRoundInfo(PrintWriter xout, int roundNumber, List<ClassSymbol> topLevelClasses, Set<TypeElement> annotationsPresent, boolean lastRound) { if (printRounds || verbose) { xout.println(Log.getLocalizedString("x.print.rounds", roundNumber, "{" + topLevelClasses.toString(", ") + "}", annotationsPresent, lastRound)); } }
public String argtypes(boolean varargs) { List<Type> args = getParameterTypes(); if (!varargs) return args.toString(); StringBuffer buf = new StringBuffer(); while (args.tail.nonEmpty()) { buf.append(args.head); args = args.tail; buf.append(','); } if (args.head.tag == ARRAY) { buf.append(((ArrayType)args.head).elemtype); buf.append("..."); } else { buf.append(args.head); } return buf.toString(); }
/** Print info about this round. */ private void printRoundInfo(boolean lastRound) { if (printRounds || verbose) { List<ClassSymbol> tlc = lastRound ? List.<ClassSymbol>nil() : topLevelClasses; Set<TypeElement> ap = lastRound ? Collections.<TypeElement>emptySet() : annotationsPresent; log.printLines("x.print.rounds", number, "{" + tlc.toString(", ") + "}", ap, lastRound); } }
/** Print info about this round. */ private void printRoundInfo(boolean lastRound) { if (printRounds || verbose) { List<ClassSymbol> tlc = lastRound ? List.<ClassSymbol>nil() : topLevelClasses; Set<TypeElement> ap = lastRound ? Collections.<TypeElement>emptySet() : annotationsPresent; log.printLines("x.print.rounds", number, "{" + tlc.toString(", ") + "}", ap, lastRound); } }
@Override public String toString() { // This method is only used for internal debugging output. // See // com.sun.tools.javac.code.Printer.visitAnnotatedType(AnnotatedType, Locale) // for the user-visible logic. if (typeAnnotations != null && !typeAnnotations.isEmpty()) { return "(" + typeAnnotations.toString() + " :: " + underlyingType.toString() + ")"; } else { return "({} :: " + underlyingType.toString() +")"; } }
@Override public String toString() { // This method is only used for internal debugging output. // See // com.sun.tools.javac.code.Printer.visitAnnotatedType(AnnotatedType, Locale) // for the user-visible logic. if (typeAnnotations != null && !typeAnnotations.isEmpty()) { return "(" + typeAnnotations.toString() + " :: " + underlyingType.toString() + ")"; } else { return "({} :: " + underlyingType.toString() +")"; } }
/** * * Get a localized string representation for all the symbols in the input list. * * @param ts symbols to be displayed * @param locale the locale in which the string is to be rendered * @return localized string representation */ public String visitSymbols(List<Symbol> ts, Locale locale) { ListBuffer<String> sbuf = new ListBuffer<>(); for (Symbol t : ts) { sbuf.append(visit(t, locale)); } return sbuf.toList().toString(); }
/** * Get a localized string representation for all the types in the input list. * * @param ts types to be displayed * @param locale the locale in which the string is to be rendered * @return localized string representation */ public String visitTypes(List<Type> ts, Locale locale) { ListBuffer<String> sbuf = new ListBuffer<>(); for (Type t : ts) { sbuf.append(visit(t, locale)); } return sbuf.toList().toString(); }
/** * Get a localized string representation for all the types in the input list. * * @param ts types to be displayed * @param locale the locale in which the string is to be rendered * @return localized string representation */ public String visitTypes(List<Type> ts, Locale locale) { ListBuffer<String> sbuf = new ListBuffer<>(); for (Type t : ts) { sbuf.append(visit(t, locale)); } return sbuf.toList().toString(); }
/** * * Get a localized string representation for all the symbols in the input list. * * @param ts symbols to be displayed * @param locale the locale in which the string is to be rendered * @return localized string representation */ public String visitSymbols(List<Symbol> ts, Locale locale) { ListBuffer<String> sbuf = new ListBuffer<>(); for (Symbol t : ts) { sbuf.append(visit(t, locale)); } return sbuf.toList().toString(); }