工具: android studio 方法: 点击工具栏上的File,选择Settings IDE Settings--File and Code Templates--Class 勾选Includes tab下面的File Header,根据需要在右边就可以设置自己的注释模板了