org.apache.tools.ant.taskdefs.Javac.getSource()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(1.6k)|赞(0)|评价(0)|浏览(172)

本文整理了Java中org.apache.tools.ant.taskdefs.Javac.getSource()方法的一些代码示例,展示了Javac.getSource()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Javac.getSource()方法的具体详情如下:
包路径:org.apache.tools.ant.taskdefs.Javac
类名称:Javac
方法名:getSource

Javac.getSource介绍

[英]Get the value of source.
[中]获取源的值。

代码示例

代码示例来源:origin: org.apache.ant/ant

if (attributes.getSource() != null) {
  String source = attributes.getSource();
  cmd.createArgument().setValue("-fsource=" + source);

代码示例来源:origin: org.apache.ant/ant

if (attributes.getSource() != null) {
  cmd.createArgument().setValue("-source");
  String source = attributes.getSource();
  if ("1.1".equals(source) || "1.2".equals(source)) {

代码示例来源:origin: org.apache.ant/ant

if (!assumeJava13()) { // -source added with JDK 1.4
  final String t = attributes.getTarget();
  final String s = attributes.getSource();
  if (release == null || !assumeJava9Plus()) {
    if (release != null) {

代码示例来源:origin: org.eclipse.scout.sdk.deps/ecj

String source = this.attributes.getSource();
if (source != null) {
  this.customDefaultOptions.put(CompilerOptions.OPTION_Source, source);

代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7

String source = this.attributes.getSource();
if (source != null) {
  this.customDefaultOptions.put(CompilerOptions.OPTION_Source, source);

代码示例来源:origin: org.eclipse.jdt.core.compiler/ecj

String source = this.attributes.getSource();
if (source != null) {
  this.customDefaultOptions.put(CompilerOptions.OPTION_Source, source);

代码示例来源:origin: org.eclipse.jetty.orbit/org.eclipse.jdt.core

String source = this.attributes.getSource();
if (source != null) {
  this.customDefaultOptions.put(CompilerOptions.OPTION_Source, source);

相关文章