File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
core/src/main/java/com/google/googlejavaformat/java Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3434 *
3535 * <p>For example, {@code int [] a;} cannot be distinguished from {@code int [] a [];} in the AST.
3636 */
37- public class DimensionHelpers {
37+ class DimensionHelpers {
3838
3939 /** The array dimension specifiers (including any type annotations) associated with a type. */
4040 static class TypeWithDims {
Original file line number Diff line number Diff line change 2323 * Encapsulates information about a file to be formatted, including which parts of the file to
2424 * format.
2525 */
26- public class FormatFileCallable implements Callable <String > {
26+ class FormatFileCallable implements Callable <String > {
2727 private final String input ;
2828 private final CommandLineOptions parameters ;
2929 private final JavaFormatterOptions options ;
Original file line number Diff line number Diff line change 3030import org .openjdk .tools .javac .util .Context ;
3131
3232/** A wrapper around javac's lexer. */
33- public class JavacTokens {
33+ class JavacTokens {
3434
3535 /** The lexer eats terminal comments, so feed it one we don't care about. */
3636 // TODO(b/33103797): fix javac and remove the work-around
Original file line number Diff line number Diff line change 3131import org .openjdk .tools .javac .tree .TreeInfo ;
3232
3333/** Utilities for working with {@link Tree}s. */
34- public class Trees {
34+ class Trees {
3535 /** Returns the length of the source for the node. */
3636 static int getLength (Tree tree , TreePath path ) {
3737 return getEndPosition (tree , path ) - getStartPosition (tree );
You can’t perform that action at this time.
0 commit comments