src/share/classes/com/sun/tools/javac/code/Printer.java

changeset 1357
c75be5bc5283
parent 1348
573ceb23beeb
child 1358
fc123bdeddb8
equal deleted inserted replaced
1352:d4b3cb1ece84 1357:c75be5bc5283
1 /* 1 /*
2 * Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this 7 * published by the Free Software Foundation. Oracle designates this
26 package com.sun.tools.javac.code; 26 package com.sun.tools.javac.code;
27 27
28 import java.util.Locale; 28 import java.util.Locale;
29 29
30 import com.sun.tools.javac.api.Messages; 30 import com.sun.tools.javac.api.Messages;
31 import com.sun.tools.javac.code.Symbol.*;
31 import com.sun.tools.javac.code.Type.*; 32 import com.sun.tools.javac.code.Type.*;
32 import com.sun.tools.javac.code.Symbol.*;
33 import com.sun.tools.javac.comp.DeferredAttr.DeferredType;
34 import com.sun.tools.javac.tree.JCTree;
35 import com.sun.tools.javac.tree.Pretty;
36 import com.sun.tools.javac.util.Assert;
37 import com.sun.tools.javac.util.List; 33 import com.sun.tools.javac.util.List;
38 import com.sun.tools.javac.util.ListBuffer; 34 import com.sun.tools.javac.util.ListBuffer;
39
40 import static com.sun.tools.javac.code.TypeTags.*;
41 import static com.sun.tools.javac.code.BoundKind.*; 35 import static com.sun.tools.javac.code.BoundKind.*;
42 import static com.sun.tools.javac.code.Flags.*; 36 import static com.sun.tools.javac.code.Flags.*;
37 import static com.sun.tools.javac.code.TypeTags.*;
43 38
44 /** 39 /**
45 * A combined type/symbol visitor for generating non-trivial localized string 40 * A combined type/symbol visitor for generating non-trivial localized string
46 * representation of types and symbols. 41 * representation of types and symbols.
47 * 42 *

mercurial