org.eclipse.jdt.internal.compiler.batch.Main.processPathEntries()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(10.7k)|赞(0)|评价(0)|浏览(136)

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

Main.processPathEntries介绍

暂无

代码示例

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

  1. for (int i = 0, max = this.sourcepaths.length; i < max; i++) {
  2. String encoding = this.sourcepathsEncodings == null ? null : this.sourcepathsEncodings[i];
  3. main.processPathEntries(
  4. Main.DEFAULT_SIZE_CLASSPATH,
  5. allClasspaths, this.sourcepaths[i], encoding, true, false);
  6. main.processPathEntries(
  7. Main.DEFAULT_SIZE_CLASSPATH,
  8. allClasspaths, this.classpaths[i], null, false, false);

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

  1. protected ArrayList<Classpath> handleBootclasspath(ArrayList<String> bootclasspaths, String customEncoding) {
  2. final int bootclasspathsSize;
  3. ArrayList<Classpath> result = new ArrayList<>(DEFAULT_SIZE_CLASSPATH);
  4. if ((bootclasspaths != null)
  5. && ((bootclasspathsSize = bootclasspaths.size()) != 0)) {
  6. result = new ArrayList<>(bootclasspathsSize);
  7. for (String path : bootclasspaths) {
  8. processPathEntries(DEFAULT_SIZE_CLASSPATH, result, path, customEncoding, false, true);
  9. }
  10. } else {
  11. try {
  12. Util.collectVMBootclasspath(result, this.javaHomeCache);
  13. } catch(IllegalStateException e) {
  14. throw new IllegalArgumentException(this.bind("configure.invalidSystem", this.javaHomeCache.toString())); //$NON-NLS-1$
  15. }
  16. }
  17. return result;
  18. }
  19. private void processAddonModuleOptions(FileSystem env) {

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

  1. protected ArrayList<Classpath> handleBootclasspath(ArrayList<String> bootclasspaths, String customEncoding) {
  2. final int bootclasspathsSize;
  3. ArrayList<Classpath> result = new ArrayList<>(DEFAULT_SIZE_CLASSPATH);
  4. if ((bootclasspaths != null)
  5. && ((bootclasspathsSize = bootclasspaths.size()) != 0)) {
  6. result = new ArrayList<>(bootclasspathsSize);
  7. for (String path : bootclasspaths) {
  8. processPathEntries(DEFAULT_SIZE_CLASSPATH, result, path, customEncoding, false, true);
  9. }
  10. } else {
  11. try {
  12. Util.collectVMBootclasspath(result, this.javaHomeCache);
  13. } catch(IllegalStateException e) {
  14. throw new IllegalArgumentException(this.bind("configure.invalidSystem", this.javaHomeCache.toString())); //$NON-NLS-1$
  15. }
  16. }
  17. return result;
  18. }
  19. private void processAddonModuleOptions(FileSystem env) {

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

  1. for (int i = 0, max = this.sourcepaths.length; i < max; i++) {
  2. String encoding = this.sourcepathsEncodings == null ? null : this.sourcepathsEncodings[i];
  3. main.processPathEntries(
  4. Main.DEFAULT_SIZE_CLASSPATH,
  5. allClasspaths, this.sourcepaths[i], encoding, true, false);
  6. main.processPathEntries(
  7. Main.DEFAULT_SIZE_CLASSPATH,
  8. allClasspaths, this.classpaths[i], null, false, false);

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

  1. for (int i = 0, max = this.sourcepaths.length; i < max; i++) {
  2. String encoding = this.sourcepathsEncodings == null ? null : this.sourcepathsEncodings[i];
  3. main.processPathEntries(
  4. Main.DEFAULT_SIZE_CLASSPATH,
  5. allClasspaths, this.sourcepaths[i], encoding, true, false);
  6. main.processPathEntries(
  7. Main.DEFAULT_SIZE_CLASSPATH,
  8. allClasspaths, this.classpaths[i], null, false, false);

代码示例来源:origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core

  1. for (int i = 0, max = this.sourcepaths.length; i < max; i++) {
  2. String encoding = this.sourcepathsEncodings == null ? null : this.sourcepathsEncodings[i];
  3. main.processPathEntries(
  4. Main.DEFAULT_SIZE_CLASSPATH,
  5. allClasspaths, this.sourcepaths[i], encoding, true, false);
  6. main.processPathEntries(
  7. Main.DEFAULT_SIZE_CLASSPATH,
  8. allClasspaths, this.classpaths[i], null, false, false);

代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core

  1. for (int i = 0, max = this.sourcepaths.length; i < max; i++) {
  2. String encoding = this.sourcepathsEncodings == null ? null : this.sourcepathsEncodings[i];
  3. main.processPathEntries(
  4. Main.DEFAULT_SIZE_CLASSPATH,
  5. allClasspaths, this.sourcepaths[i], encoding, true, false);
  6. main.processPathEntries(
  7. Main.DEFAULT_SIZE_CLASSPATH,
  8. allClasspaths, this.classpaths[i], null, false, false);

代码示例来源:origin: trylimits/Eclipse-Postfix-Code-Completion

  1. for (int i = 0, max = this.sourcepaths.length; i < max; i++) {
  2. String encoding = this.sourcepathsEncodings == null ? null : this.sourcepathsEncodings[i];
  3. main.processPathEntries(
  4. Main.DEFAULT_SIZE_CLASSPATH,
  5. allClasspaths, this.sourcepaths[i], encoding, true, false);
  6. main.processPathEntries(
  7. Main.DEFAULT_SIZE_CLASSPATH,
  8. allClasspaths, this.classpaths[i], null, false, false);

代码示例来源:origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core

  1. protected ArrayList handleBootclasspath(ArrayList bootclasspaths, String customEncoding) {
  2. final int bootclasspathsSize;
  3. if ((bootclasspaths != null)
  4. && ((bootclasspathsSize = bootclasspaths.size()) != 0))
  5. {
  6. String[] paths = new String[bootclasspathsSize];
  7. bootclasspaths.toArray(paths);
  8. bootclasspaths.clear();
  9. for (int i = 0; i < bootclasspathsSize; i++) {
  10. processPathEntries(DEFAULT_SIZE_CLASSPATH, bootclasspaths,
  11. paths[i], customEncoding, false, true);
  12. }
  13. } else {
  14. bootclasspaths = new ArrayList(DEFAULT_SIZE_CLASSPATH);
  15. try {
  16. Util.collectRunningVMBootclasspath(bootclasspaths);
  17. } catch(IllegalStateException e) {
  18. this.logger.logWrongJDK();
  19. this.proceed = false;
  20. return null;
  21. }
  22. }
  23. return bootclasspaths;
  24. }

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

  1. protected ArrayList handleBootclasspath(ArrayList bootclasspaths, String customEncoding) {
  2. final int bootclasspathsSize;
  3. if ((bootclasspaths != null)
  4. && ((bootclasspathsSize = bootclasspaths.size()) != 0))
  5. {
  6. String[] paths = new String[bootclasspathsSize];
  7. bootclasspaths.toArray(paths);
  8. bootclasspaths.clear();
  9. for (int i = 0; i < bootclasspathsSize; i++) {
  10. processPathEntries(DEFAULT_SIZE_CLASSPATH, bootclasspaths,
  11. paths[i], customEncoding, false, true);
  12. }
  13. } else {
  14. bootclasspaths = new ArrayList(DEFAULT_SIZE_CLASSPATH);
  15. try {
  16. Util.collectRunningVMBootclasspath(bootclasspaths);
  17. } catch(IllegalStateException e) {
  18. this.logger.logWrongJDK();
  19. this.proceed = false;
  20. return null;
  21. }
  22. }
  23. return bootclasspaths;
  24. }

代码示例来源:origin: trylimits/Eclipse-Postfix-Code-Completion

  1. protected ArrayList handleBootclasspath(ArrayList bootclasspaths, String customEncoding) {
  2. final int bootclasspathsSize;
  3. if ((bootclasspaths != null)
  4. && ((bootclasspathsSize = bootclasspaths.size()) != 0))
  5. {
  6. String[] paths = new String[bootclasspathsSize];
  7. bootclasspaths.toArray(paths);
  8. bootclasspaths.clear();
  9. for (int i = 0; i < bootclasspathsSize; i++) {
  10. processPathEntries(DEFAULT_SIZE_CLASSPATH, bootclasspaths,
  11. paths[i], customEncoding, false, true);
  12. }
  13. } else {
  14. bootclasspaths = new ArrayList(DEFAULT_SIZE_CLASSPATH);
  15. try {
  16. Util.collectRunningVMBootclasspath(bootclasspaths);
  17. } catch(IllegalStateException e) {
  18. this.logger.logWrongJDK();
  19. this.proceed = false;
  20. return null;
  21. }
  22. }
  23. return bootclasspaths;
  24. }

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

  1. protected ArrayList handleBootclasspath(ArrayList bootclasspaths, String customEncoding) {
  2. final int bootclasspathsSize;
  3. if ((bootclasspaths != null)
  4. && ((bootclasspathsSize = bootclasspaths.size()) != 0))
  5. {
  6. String[] paths = new String[bootclasspathsSize];
  7. bootclasspaths.toArray(paths);
  8. bootclasspaths.clear();
  9. for (int i = 0; i < bootclasspathsSize; i++) {
  10. processPathEntries(DEFAULT_SIZE_CLASSPATH, bootclasspaths,
  11. paths[i], customEncoding, false, true);
  12. }
  13. } else {
  14. bootclasspaths = new ArrayList(DEFAULT_SIZE_CLASSPATH);
  15. try {
  16. Util.collectRunningVMBootclasspath(bootclasspaths);
  17. } catch(IllegalStateException e) {
  18. this.logger.logWrongJDK();
  19. this.proceed = false;
  20. return null;
  21. }
  22. }
  23. return bootclasspaths;
  24. }

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

  1. protected ArrayList handleBootclasspath(ArrayList bootclasspaths, String customEncoding) {
  2. final int bootclasspathsSize;
  3. if ((bootclasspaths != null)
  4. && ((bootclasspathsSize = bootclasspaths.size()) != 0))
  5. {
  6. String[] paths = new String[bootclasspathsSize];
  7. bootclasspaths.toArray(paths);
  8. bootclasspaths.clear();
  9. for (int i = 0; i < bootclasspathsSize; i++) {
  10. processPathEntries(DEFAULT_SIZE_CLASSPATH, bootclasspaths,
  11. paths[i], customEncoding, false, true);
  12. }
  13. } else {
  14. bootclasspaths = new ArrayList(DEFAULT_SIZE_CLASSPATH);
  15. try {
  16. Util.collectRunningVMBootclasspath(bootclasspaths);
  17. } catch(IllegalStateException e) {
  18. this.logger.logWrongJDK();
  19. this.proceed = false;
  20. return null;
  21. }
  22. }
  23. return bootclasspaths;
  24. }

代码示例来源:origin: com.vaadin/vaadin-client-compiler-deps

  1. protected ArrayList handleBootclasspath(ArrayList bootclasspaths, String customEncoding) {
  2. final int bootclasspathsSize;
  3. if ((bootclasspaths != null)
  4. && ((bootclasspathsSize = bootclasspaths.size()) != 0))
  5. {
  6. String[] paths = new String[bootclasspathsSize];
  7. bootclasspaths.toArray(paths);
  8. bootclasspaths.clear();
  9. for (int i = 0; i < bootclasspathsSize; i++) {
  10. processPathEntries(DEFAULT_SIZE_CLASSPATH, bootclasspaths,
  11. paths[i], customEncoding, false, true);
  12. }
  13. } else {
  14. bootclasspaths = new ArrayList(DEFAULT_SIZE_CLASSPATH);
  15. try {
  16. Util.collectRunningVMBootclasspath(bootclasspaths);
  17. } catch(IllegalStateException e) {
  18. this.logger.logWrongJDK();
  19. this.proceed = false;
  20. return null;
  21. }
  22. }
  23. return bootclasspaths;
  24. }

代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core

  1. protected ArrayList handleBootclasspath(ArrayList bootclasspaths, String customEncoding) {
  2. final int bootclasspathsSize;
  3. if ((bootclasspaths != null)
  4. && ((bootclasspathsSize = bootclasspaths.size()) != 0))
  5. {
  6. String[] paths = new String[bootclasspathsSize];
  7. bootclasspaths.toArray(paths);
  8. bootclasspaths.clear();
  9. for (int i = 0; i < bootclasspathsSize; i++) {
  10. processPathEntries(DEFAULT_SIZE_CLASSPATH, bootclasspaths,
  11. paths[i], customEncoding, false, true);
  12. }
  13. } else {
  14. bootclasspaths = new ArrayList(DEFAULT_SIZE_CLASSPATH);
  15. try {
  16. Util.collectRunningVMBootclasspath(bootclasspaths);
  17. } catch(IllegalStateException e) {
  18. this.logger.logWrongJDK();
  19. this.proceed = false;
  20. return null;
  21. }
  22. }
  23. return bootclasspaths;
  24. }

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

  1. protected ArrayList handleBootclasspath(ArrayList bootclasspaths, String customEncoding) {
  2. final int bootclasspathsSize;
  3. if ((bootclasspaths != null)
  4. && ((bootclasspathsSize = bootclasspaths.size()) != 0))
  5. {
  6. String[] paths = new String[bootclasspathsSize];
  7. bootclasspaths.toArray(paths);
  8. bootclasspaths.clear();
  9. for (int i = 0; i < bootclasspathsSize; i++) {
  10. processPathEntries(DEFAULT_SIZE_CLASSPATH, bootclasspaths,
  11. paths[i], customEncoding, false, true);
  12. }
  13. } else {
  14. bootclasspaths = new ArrayList(DEFAULT_SIZE_CLASSPATH);
  15. try {
  16. Util.collectRunningVMBootclasspath(bootclasspaths);
  17. } catch(IllegalStateException e) {
  18. this.logger.logWrongJDK();
  19. this.proceed = false;
  20. return null;
  21. }
  22. }
  23. return bootclasspaths;
  24. }

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

  1. processPathEntries(DEFAULT_SIZE_CLASSPATH, sourcepathClasspaths,
  2. sourcepathClasspathArg, customEncoding, true, false);

代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core

  1. processPathEntries(DEFAULT_SIZE_CLASSPATH, sourcepathClasspaths,
  2. sourcepathClasspathArg, customEncoding, true, false);

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

  1. processPathEntries(DEFAULT_SIZE_CLASSPATH, sourcepathClasspaths,
  2. sourcepathClasspathArg, customEncoding, true, false);

代码示例来源:origin: com.vaadin/vaadin-client-compiler-deps

  1. processPathEntries(DEFAULT_SIZE_CLASSPATH, sourcepathClasspaths,
  2. sourcepathClasspathArg, customEncoding, true, false);

相关文章