Google Java Style
Last changed: December 19, 2013
1 Introduction
1.1 Terminology notes
1.2 Guide notes
2
Source file basics
2.1 File name
2.2 File encoding: UTF-8
2.3 Special characters
2.3.1 Whitespace
characters
2.3.2 Special
escape sequences
2.3.3 Non-ASCII
characters
3
Source file structure
3.1 License or
copyright information, if present
3.2 Package statement
3.3 Import statements
3.3.1 No wildcard
imports
3.3.2 No line-wrapping
3.3.3
Ordering and spac......
阅读全文