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

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

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

Util.raiseIllegalSignatureException介绍

暂无

代码示例

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

private static void appendArrayTypeSignature(char[] string, int start, StringBuffer buffer, boolean compact) {
  int length = string.length;
  // need a minimum 2 char
  if (start >= length - 1) {
    throw raiseIllegalSignatureException(string, start);
  }
  char c = string[start];
  if (c != Signature.C_ARRAY) {
    throw raiseUnexpectedCharacterException(string, start, c);
  }
  int index = start;
  c = string[++index];
  while(c == Signature.C_ARRAY) {
    // need a minimum 2 char
    if (index >= length - 1) {
      throw raiseIllegalSignatureException(string, start);
    }
    c = string[++index];
  }
  appendTypeSignature(string, index, buffer, compact);
  for(int i = 0, dims = index - start; i < dims; i++) {
    buffer.append('[').append(']');
  }
}
private static void appendClassTypeSignature(char[] string, int start, StringBuffer buffer, boolean compact) {

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

private static void appendArrayTypeSignature(char[] string, int start, StringBuffer buffer, boolean compact) {
  int length = string.length;
  // need a minimum 2 char
  if (start >= length - 1) {
    throw raiseIllegalSignatureException(string, start);
  }
  char c = string[start];
  if (c != Signature.C_ARRAY) {
    throw raiseUnexpectedCharacterException(string, start, c);
  }
  int index = start;
  c = string[++index];
  while(c == Signature.C_ARRAY) {
    // need a minimum 2 char
    if (index >= length - 1) {
      throw raiseIllegalSignatureException(string, start);
    }
    c = string[++index];
  }
  appendTypeSignature(string, index, buffer, compact);
  for(int i = 0, dims = index - start; i < dims; i++) {
    buffer.append('[').append(']');
  }
}
private static void appendClassTypeSignature(char[] string, int start, StringBuffer buffer, boolean compact) {

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

private static void appendArrayTypeSignature(char[] string, int start, StringBuffer buffer, boolean compact) {
  int length = string.length;
  // need a minimum 2 char
  if (start >= length - 1) {
    throw raiseIllegalSignatureException(string, start);
  }
  char c = string[start];
  if (c != Signature.C_ARRAY) {
    throw raiseUnexpectedCharacterException(string, start, c);
  }
  int index = start;
  c = string[++index];
  while(c == Signature.C_ARRAY) {
    // need a minimum 2 char
    if (index >= length - 1) {
      throw raiseIllegalSignatureException(string, start);
    }
    c = string[++index];
  }
  appendTypeSignature(string, index, buffer, compact);
  for(int i = 0, dims = index - start; i < dims; i++) {
    buffer.append('[').append(']');
  }
}
private static void appendClassTypeSignature(char[] string, int start, StringBuffer buffer, boolean compact) {

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

throw raiseIllegalSignatureException(string, start);
  throw raiseIllegalSignatureException(string, start);

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

private static int appendCaptureTypeSignatureForAnchor(char[] string, int start, StringBuffer buffer) {
  // need a minimum 2 char
  if (start >= string.length - 1) {
    throw raiseIllegalSignatureException(string, start);
  }
  char c = string[start];
  if (c != Signature.C_CAPTURE) {
    throw raiseUnexpectedCharacterException(string, start, c);
  }
  return appendTypeArgumentSignatureForAnchor(string, start + 1, buffer);
}
private static int appendArrayTypeSignatureForAnchor(char[] string, int start, StringBuffer buffer, boolean isVarArgs) {

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

throw raiseIllegalSignatureException(string, start);
  throw raiseIllegalSignatureException(string, start);

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

throw raiseIllegalSignatureException(string, start);
  throw raiseIllegalSignatureException(string, start);

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

private static int appendCaptureTypeSignatureForAnchor(char[] string, int start, StringBuffer buffer) {
  // need a minimum 2 char
  if (start >= string.length - 1) {
    throw raiseIllegalSignatureException(string, start);
  }
  char c = string[start];
  if (c != Signature.C_CAPTURE) {
    throw raiseUnexpectedCharacterException(string, start, c);
  }
  return appendTypeArgumentSignatureForAnchor(string, start + 1, buffer);
}
private static int appendArrayTypeSignatureForAnchor(char[] string, int start, StringBuffer buffer, boolean isVarArgs) {

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

private static int appendCaptureTypeSignatureForAnchor(char[] string, int start, StringBuffer buffer) {
  // need a minimum 2 char
  if (start >= string.length - 1) {
    throw raiseIllegalSignatureException(string, start);
  }
  char c = string[start];
  if (c != Signature.C_CAPTURE) {
    throw raiseUnexpectedCharacterException(string, start, c);
  }
  return appendTypeArgumentSignatureForAnchor(string, start + 1, buffer);
}
private static int appendArrayTypeSignatureForAnchor(char[] string, int start, StringBuffer buffer, boolean isVarArgs) {

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

private static int appendClassTypeSignatureForAnchor(char[] string, int start, StringBuffer buffer) {
    throw raiseIllegalSignatureException(string, start);
  while (true) {
    if (p >= string.length) {
      throw raiseIllegalSignatureException(string, start);

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

private static int appendClassTypeSignatureForAnchor(char[] string, int start, StringBuffer buffer) {
    throw raiseIllegalSignatureException(string, start);
  while (true) {
    if (p >= string.length) {
      throw raiseIllegalSignatureException(string, start);

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

private static int appendClassTypeSignatureForAnchor(char[] string, int start, StringBuffer buffer) {
    throw raiseIllegalSignatureException(string, start);
  while (true) {
    if (p >= string.length) {
      throw raiseIllegalSignatureException(string, start);

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

private static int appendTypeArgumentSignatureForAnchor(char[] string, int start, StringBuffer buffer) {
  // need a minimum 1 char
  if (start >= string.length) {
    throw raiseIllegalSignatureException(string, start);
  }
  char c = string[start];
  switch(c) {
    case Signature.C_STAR :
      return start;
    case Signature.C_EXTENDS :
      return appendTypeSignatureForAnchor(string, start + 1, buffer, false);
    case Signature.C_SUPER :
      return appendTypeSignatureForAnchor(string, start + 1, buffer, false);
    default :
      return appendTypeSignatureForAnchor(string, start, buffer, false);
  }
}
private static int appendCaptureTypeSignatureForAnchor(char[] string, int start, StringBuffer buffer) {

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

private static int appendTypeArgumentSignatureForAnchor(char[] string, int start, StringBuffer buffer) {
  // need a minimum 1 char
  if (start >= string.length) {
    throw raiseIllegalSignatureException(string, start);
  }
  char c = string[start];
  switch(c) {
    case Signature.C_STAR :
      return start;
    case Signature.C_EXTENDS :
      return appendTypeSignatureForAnchor(string, start + 1, buffer, false);
    case Signature.C_SUPER :
      return appendTypeSignatureForAnchor(string, start + 1, buffer, false);
    default :
      return appendTypeSignatureForAnchor(string, start, buffer, false);
  }
}
private static int appendCaptureTypeSignatureForAnchor(char[] string, int start, StringBuffer buffer) {

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

private static int appendTypeArgumentSignatureForAnchor(char[] string, int start, StringBuffer buffer) {
  // need a minimum 1 char
  if (start >= string.length) {
    throw raiseIllegalSignatureException(string, start);
  }
  char c = string[start];
  switch(c) {
    case Signature.C_STAR :
      return start;
    case Signature.C_EXTENDS :
      return appendTypeSignatureForAnchor(string, start + 1, buffer, false);
    case Signature.C_SUPER :
      return appendTypeSignatureForAnchor(string, start + 1, buffer, false);
    default :
      return appendTypeSignatureForAnchor(string, start, buffer, false);
  }
}
private static int appendCaptureTypeSignatureForAnchor(char[] string, int start, StringBuffer buffer) {

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

private static int appendTypeSignatureForAnchor(char[] string, int start, StringBuffer buffer, boolean isVarArgs) {
    throw raiseIllegalSignatureException(string, start);
        return appendTypeArgumentSignatureForAnchor(string, start, buffer);
      default :
        throw raiseIllegalSignatureException(string, start);

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

private static int appendTypeSignatureForAnchor(char[] string, int start, StringBuffer buffer, boolean isVarArgs) {
    throw raiseIllegalSignatureException(string, start);
        return appendTypeArgumentSignatureForAnchor(string, start, buffer);
      default :
        throw raiseIllegalSignatureException(string, start);

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

private static int appendTypeSignatureForAnchor(char[] string, int start, StringBuffer buffer, boolean isVarArgs) {
    throw raiseIllegalSignatureException(string, start);
        return appendTypeArgumentSignatureForAnchor(string, start, buffer);
      default :
        throw raiseIllegalSignatureException(string, start);

相关文章

Util类方法