org.eclipse.jdt.internal.compiler.parser.Parser.computeQualifiedGenericsFromRightSide()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(8.1k)|赞(0)|评价(0)|浏览(167)

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

Parser.computeQualifiedGenericsFromRightSide介绍

暂无

代码示例

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

  1. protected void consumeCastExpressionWithQualifiedGenericsArray() {
  2. // CastExpression ::= PushLPAREN Name OnlyTypeArguments '.' ClassOrInterfaceType Dims PushRPAREN InsideCastExpression UnaryExpressionNotPlusMinus
  3. Expression exp, cast, castType;
  4. int end = this.intStack[this.intPtr--];
  5. int dim = this.intStack[this.intPtr--];
  6. TypeReference rightSide = getTypeReference(0);
  7. ParameterizedQualifiedTypeReference qualifiedParameterizedTypeReference = computeQualifiedGenericsFromRightSide(rightSide, dim);
  8. this.intPtr--;
  9. this.expressionStack[this.expressionPtr] = cast = new CastExpression(exp = this.expressionStack[this.expressionPtr], castType = qualifiedParameterizedTypeReference);
  10. castType.sourceEnd = end - 1;
  11. castType.sourceStart = (cast.sourceStart = this.intStack[this.intPtr--]) + 1;
  12. cast.sourceEnd = exp.sourceEnd;
  13. }
  14. protected void consumeCatches() {

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

  1. protected void consumeCastExpressionWithQualifiedGenericsArray() {
  2. // CastExpression ::= PushLPAREN Name OnlyTypeArguments '.' ClassOrInterfaceType Dims PushRPAREN InsideCastExpression UnaryExpressionNotPlusMinus
  3. Expression exp;
  4. Expression cast;
  5. TypeReference castType;
  6. int end = this.intStack[this.intPtr--];
  7. int dim = this.intStack[this.intPtr--];
  8. TypeReference rightSide = getTypeReference(0);
  9. ParameterizedQualifiedTypeReference qualifiedParameterizedTypeReference = computeQualifiedGenericsFromRightSide(rightSide, dim);
  10. this.intPtr--;
  11. this.expressionStack[this.expressionPtr] = cast = new CastExpression(exp = this.expressionStack[this.expressionPtr], castType = qualifiedParameterizedTypeReference);
  12. castType.sourceEnd = end - 1;
  13. castType.sourceStart = (cast.sourceStart = this.intStack[this.intPtr--]) + 1;
  14. cast.sourceEnd = exp.sourceEnd;
  15. }
  16. protected void consumeCatches() {

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

  1. protected void consumeCastExpressionWithQualifiedGenericsArray() {
  2. // CastExpression ::= PushLPAREN Name OnlyTypeArguments '.' ClassOrInterfaceType Dims PushRPAREN InsideCastExpression UnaryExpressionNotPlusMinus
  3. Expression exp;
  4. Expression cast;
  5. TypeReference castType;
  6. int end = this.intStack[this.intPtr--];
  7. int dim = this.intStack[this.intPtr--];
  8. TypeReference rightSide = getTypeReference(0);
  9. ParameterizedQualifiedTypeReference qualifiedParameterizedTypeReference = computeQualifiedGenericsFromRightSide(rightSide, dim);
  10. this.intPtr--;
  11. this.expressionStack[this.expressionPtr] = cast = new CastExpression(exp = this.expressionStack[this.expressionPtr], castType = qualifiedParameterizedTypeReference);
  12. castType.sourceEnd = end - 1;
  13. castType.sourceStart = (cast.sourceStart = this.intStack[this.intPtr--]) + 1;
  14. cast.sourceEnd = exp.sourceEnd;
  15. }
  16. protected void consumeCatches() {

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

  1. Annotation [][] annotationsOnDimensions = dim == 0 ? null : getAnnotationsOnDimensions(dim);
  2. TypeReference rightSide = getTypeReference(0);
  3. castType = computeQualifiedGenericsFromRightSide(rightSide, dim, annotationsOnDimensions);

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

  1. Annotation [][] annotationsOnDimensions = dim == 0 ? null : getAnnotationsOnDimensions(dim);
  2. TypeReference rightSide = getTypeReference(0);
  3. castType = computeQualifiedGenericsFromRightSide(rightSide, dim, annotationsOnDimensions);

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

  1. Annotation [][] annotationsOnDimensions = dim == 0 ? null : getAnnotationsOnDimensions(dim);
  2. TypeReference rightSide = getTypeReference(0);
  3. castType = computeQualifiedGenericsFromRightSide(rightSide, dim, annotationsOnDimensions);

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

  1. Annotation [][] annotationsOnDimensions = dim == 0 ? null : getAnnotationsOnDimensions(dim);
  2. TypeReference rightSide = getTypeReference(0);
  3. castType = computeQualifiedGenericsFromRightSide(rightSide, dim, annotationsOnDimensions);

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

  1. Annotation [][] annotationsOnDimensions = dim == 0 ? null : getAnnotationsOnDimensions(dim);
  2. TypeReference rightSide = getTypeReference(0);
  3. castType = computeQualifiedGenericsFromRightSide(rightSide, dim, annotationsOnDimensions);

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

  1. Annotation [][] annotationsOnDimensions = dim == 0 ? null : getAnnotationsOnDimensions(dim);
  2. TypeReference rightSide = getTypeReference(0);
  3. castType = computeQualifiedGenericsFromRightSide(rightSide, dim, annotationsOnDimensions);

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

  1. Annotation [][] annotationsOnDimensions = dim == 0 ? null : getAnnotationsOnDimensions(dim);
  2. TypeReference rightSide = getTypeReference(0);
  3. castType = computeQualifiedGenericsFromRightSide(rightSide, dim, annotationsOnDimensions);

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

  1. Annotation [][] annotationsOnDimensions = dim == 0 ? null : getAnnotationsOnDimensions(dim);
  2. TypeReference rightSide = getTypeReference(0);
  3. castType = computeQualifiedGenericsFromRightSide(rightSide, dim, annotationsOnDimensions);

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

  1. Annotation [][] annotationsOnDimensions = dims == 0 ? null : getAnnotationsOnDimensions(dims);
  2. TypeReference rightSide = getTypeReference(0);
  3. type = computeQualifiedGenericsFromRightSide(rightSide, dims, annotationsOnDimensions);
  4. } else {
  5. pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]);

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

  1. Annotation [][] annotationsOnDimensions = dims == 0 ? null : getAnnotationsOnDimensions(dims);
  2. TypeReference rightSide = getTypeReference(0);
  3. type = computeQualifiedGenericsFromRightSide(rightSide, dims, annotationsOnDimensions);
  4. } else {
  5. pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]);

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

  1. Annotation [][] annotationsOnDimensions = dims == 0 ? null : getAnnotationsOnDimensions(dims);
  2. TypeReference rightSide = getTypeReference(0);
  3. type = computeQualifiedGenericsFromRightSide(rightSide, dims, annotationsOnDimensions);
  4. } else {
  5. pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]);

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

  1. Annotation [][] annotationsOnDimensions = dims == 0 ? null : getAnnotationsOnDimensions(dims);
  2. TypeReference rightSide = getTypeReference(0);
  3. type = computeQualifiedGenericsFromRightSide(rightSide, dims, annotationsOnDimensions);
  4. } else {
  5. pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]);

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

  1. Annotation [][] annotationsOnDimensions = dims == 0 ? null : getAnnotationsOnDimensions(dims);
  2. TypeReference rightSide = getTypeReference(0);
  3. type = computeQualifiedGenericsFromRightSide(rightSide, dims, annotationsOnDimensions);
  4. } else {
  5. pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]);

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

  1. Annotation [][] annotationsOnDimensions = dims == 0 ? null : getAnnotationsOnDimensions(dims);
  2. TypeReference rightSide = getTypeReference(0);
  3. type = computeQualifiedGenericsFromRightSide(rightSide, dims, annotationsOnDimensions);
  4. } else {
  5. pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]);

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

  1. Annotation [][] annotationsOnDimensions = dims == 0 ? null : getAnnotationsOnDimensions(dims);
  2. TypeReference rightSide = getTypeReference(0);
  3. type = computeQualifiedGenericsFromRightSide(rightSide, dims, annotationsOnDimensions);
  4. } else {
  5. pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]);

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

  1. Annotation [][] annotationsOnDimensions = dims == 0 ? null : getAnnotationsOnDimensions(dims);
  2. TypeReference rightSide = getTypeReference(0);
  3. type = computeQualifiedGenericsFromRightSide(rightSide, dims, annotationsOnDimensions);
  4. } else {
  5. pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]);

相关文章

Parser类方法