org.eclipse.jdt.internal.compiler.util.Util.scanBaseTypeSignature()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(2.6k)|赞(0)|评价(0)|浏览(103)

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

Util.scanBaseTypeSignature介绍

[英]Scans the given string for a base type signature starting at the given index and returns the index of the last character.

BaseTypeSignature: 
B | C | D | F | I 
| J | S | V | Z

Note that although the base type "V" is only allowed in method return types, there is no syntactic ambiguity. This method will accept them anywhere without complaint.
[中]从给定索引开始扫描给定字符串中的基类型签名,并返回最后一个字符的索引

BaseTypeSignature: 
B | C | D | F | I 
| J | S | V | Z

请注意,尽管基类型“V”只允许在方法返回类型中使用,但不存在语法歧义。这种方法可以毫无怨言地在任何地方接受它们。

代码示例

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

case C_SHORT :
case C_VOID :
  return scanBaseTypeSignature(string, start);
case C_CAPTURE :
  return scanCaptureTypeSignature(string, start);

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

case C_SHORT :
case C_VOID :
  return scanBaseTypeSignature(string, start);
case C_CAPTURE :
  return scanCaptureTypeSignature(string, start);

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

case C_SHORT :
case C_VOID :
  return scanBaseTypeSignature(string, start);
case C_CAPTURE :
  return scanCaptureTypeSignature(string, start);

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

case C_SHORT :
case C_VOID :
  return scanBaseTypeSignature(string, start);
case C_CAPTURE :
  return scanCaptureTypeSignature(string, start);

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

case C_SHORT :
case C_VOID :
  return scanBaseTypeSignature(string, start);
case C_CAPTURE :
  return scanCaptureTypeSignature(string, start);

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

case C_SHORT :
case C_VOID :
  return scanBaseTypeSignature(string, start);
case C_CAPTURE :
  return scanCaptureTypeSignature(string, start);

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

case C_SHORT :
case C_VOID :
  return scanBaseTypeSignature(string, start);
case C_CAPTURE :
  return scanCaptureTypeSignature(string, start);

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

case C_SHORT :
case C_VOID :
  return scanBaseTypeSignature(string, start);
case C_CAPTURE :
  return scanCaptureTypeSignature(string, start);

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

case C_SHORT :
case C_VOID :
  return scanBaseTypeSignature(string, start);
case C_CAPTURE :
  return scanCaptureTypeSignature(string, start);

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

case C_SHORT :
case C_VOID :
  return scanBaseTypeSignature(string, start);
case C_CAPTURE :
  return scanCaptureTypeSignature(string, start);

相关文章