本文整理了Java中com.sun.tools.javac.main.JavaCompiler.explicitAnnotationProcessingRequested()
方法的一些代码示例,展示了JavaCompiler.explicitAnnotationProcessingRequested()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JavaCompiler.explicitAnnotationProcessingRequested()
方法的具体详情如下:
包路径:com.sun.tools.javac.main.JavaCompiler
类名称:JavaCompiler
方法名:explicitAnnotationProcessingRequested
[英]Switch: is annotation processing requested explicitly via CompilationTask.setProcessors?
[中]开关:通过CompilationTask显式请求注释处理。设置处理器?
代码示例来源:origin: org.kohsuke.sorcerer/sorcerer-javac
boolean explicitAnnotationProcessingRequested() {
return
explicitAnnotationProcessingRequested ||
explicitAnnotationProcessingRequested(options);
}
代码示例来源:origin: konsoletyper/teavm-javac
boolean explicitAnnotationProcessingRequested() {
return
explicitAnnotationProcessingRequested ||
explicitAnnotationProcessingRequested(options);
}
代码示例来源:origin: org.jvnet.sorcerer/sorcerer-javac
public void reportDeferredDiagnostics() {
if (annotationProcessingOccurred
&& implicitSourceFilesRead
&& implicitSourcePolicy == ImplicitSourcePolicy.UNSET) {
if (explicitAnnotationProcessingRequested())
log.warning("proc.use.implicit");
else
log.warning("proc.use.proc.or.implicit");
}
chk.reportDeferredDiagnostics();
}
代码示例来源:origin: sc.fiji/javac
public void reportDeferredDiagnostics() {
if (annotationProcessingOccurred
&& implicitSourceFilesRead
&& implicitSourcePolicy == ImplicitSourcePolicy.UNSET) {
if (explicitAnnotationProcessingRequested())
log.warning("proc.use.implicit");
else
log.warning("proc.use.proc.or.implicit");
}
chk.reportDeferredDiagnostics();
}
代码示例来源:origin: konsoletyper/teavm-javac
public void reportDeferredDiagnostics() {
if (errorCount() == 0
&& annotationProcessingOccurred
&& implicitSourceFilesRead
&& implicitSourcePolicy == ImplicitSourcePolicy.UNSET) {
if (explicitAnnotationProcessingRequested())
log.warning("proc.use.implicit");
else
log.warning("proc.use.proc.or.implicit");
}
chk.reportDeferredDiagnostics();
if (log.compressedOutput) {
log.mandatoryNote(null, "compressed.diags");
}
}
代码示例来源:origin: org.kohsuke.sorcerer/sorcerer-javac
public void reportDeferredDiagnostics() {
if (errorCount() == 0
&& annotationProcessingOccurred
&& implicitSourceFilesRead
&& implicitSourcePolicy == ImplicitSourcePolicy.UNSET) {
if (explicitAnnotationProcessingRequested())
log.warning("proc.use.implicit");
else
log.warning("proc.use.proc.or.implicit");
}
chk.reportDeferredDiagnostics();
if (log.compressedOutput) {
log.mandatoryNote(null, "compressed.diags");
}
}
代码示例来源:origin: konsoletyper/teavm-javac
|| options.isSet(FULLVERSION))
return Result.OK;
if (JavaCompiler.explicitAnnotationProcessingRequested(options)) {
error("err.no.source.files.classes");
} else {
代码示例来源:origin: org.kohsuke.sorcerer/sorcerer-javac
|| options.isSet(FULLVERSION))
return Result.OK;
if (JavaCompiler.explicitAnnotationProcessingRequested(options)) {
error("err.no.source.files.classes");
} else {
代码示例来源:origin: sc.fiji/javac
if (!explicitAnnotationProcessingRequested()) {
log.error("proc.no.explicit.annotation.processing.requested",
classnames);
代码示例来源:origin: org.jvnet.sorcerer/sorcerer-javac
if (!explicitAnnotationProcessingRequested()) {
log.error("proc.no.explicit.annotation.processing.requested",
classnames);
代码示例来源:origin: konsoletyper/teavm-javac
if (!explicitAnnotationProcessingRequested()) {
log.error("proc.no.explicit.annotation.processing.requested",
classnames);
代码示例来源:origin: org.kohsuke.sorcerer/sorcerer-javac
if (!explicitAnnotationProcessingRequested()) {
log.error("proc.no.explicit.annotation.processing.requested",
classnames);
内容来源于网络,如有侵权,请联系作者删除!