本文整理汇总了Java中com.sun.tools.apt.util.Bark.printLines方法的典型用法代码示例。如果您正苦于以下问题:Java Bark.printLines方法的具体用法?Java Bark.printLines怎么用?Java Bark.printLines使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.sun.tools.apt.util.Bark
的用法示例。
在下文中一共展示了Bark.printLines方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: help
import com.sun.tools.apt.util.Bark; //导入方法依赖的package包/类
/** Print a line of documentation describing this option, if standard.
*/
void help() {
String s = " " + helpSynopsis();
out.print(s);
for (int j = s.length(); j < 29; j++) out.print(" ");
Bark.printLines(out, getLocalizedString(descrKey));
}
示例2: xhelp
import com.sun.tools.apt.util.Bark; //导入方法依赖的package包/类
/** Print a string that explains usage for X options.
*/
void xhelp() {
for (int i=0; i<recognizedOptions.length; i++) {
recognizedOptions[i].xhelp();
}
out.println();
Bark.printLines(out, getLocalizedString("msg.usage.nonstandard.footer"));
}
示例3: process
import com.sun.tools.apt.util.Bark; //导入方法依赖的package包/类
boolean process(String option) {
Bark.printLines(out, ownName + " " + JavaCompiler.version());
return super.process(option);
}
示例4: warning
import com.sun.tools.apt.util.Bark; //导入方法依赖的package包/类
/** Report a warning.
*/
void warning(String key, Object... args) {
Bark.printLines(out, ownName + ": "
+ getLocalizedString(key, args));
}
示例5: bugMessage
import com.sun.tools.apt.util.Bark; //导入方法依赖的package包/类
/** Print a message reporting an internal error.
*/
void bugMessage(Throwable ex) {
Bark.printLines(out, getLocalizedString("msg.bug",
JavaCompiler.version()));
ex.printStackTrace(out);
}
示例6: apMessage
import com.sun.tools.apt.util.Bark; //导入方法依赖的package包/类
/** Print a message reporting an fatal error.
*/
void apMessage(AnnotationProcessingError ex) {
Bark.printLines(out, getLocalizedString("misc.Problem"));
ex.getCause().printStackTrace(out);
}
示例7: sceMessage
import com.sun.tools.apt.util.Bark; //导入方法依赖的package包/类
/** Print a message about sun.misc.Service problem.
*/
void sceMessage(sun.misc.ServiceConfigurationError ex) {
Bark.printLines(out, getLocalizedString("misc.SunMiscService"));
ex.printStackTrace(out);
}
示例8: feMessage
import com.sun.tools.apt.util.Bark; //导入方法依赖的package包/类
/** Print a message reporting an fatal error.
*/
void feMessage(Throwable ex) {
Bark.printLines(out, ex.toString());
}
示例9: ioMessage
import com.sun.tools.apt.util.Bark; //导入方法依赖的package包/类
/** Print a message reporting an input/output error.
*/
void ioMessage(Throwable ex) {
Bark.printLines(out, getLocalizedString("msg.io"));
ex.printStackTrace(out);
}
示例10: resourceMessage
import com.sun.tools.apt.util.Bark; //导入方法依赖的package包/类
/** Print a message reporting an out-of-resources error.
*/
void resourceMessage(Throwable ex) {
Bark.printLines(out, getLocalizedString("msg.resource"));
ex.printStackTrace(out);
}
示例11: process
import com.sun.tools.apt.util.Bark; //导入方法依赖的package包/类
boolean process(String option) {
Bark.printLines(out, ownName + " " + AptJavaCompiler.version());
return super.process(option);
}