org.eclipse.jdt.internal.compiler.lookup.BlockScope.classScope()方法的使用及代码示例

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

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

BlockScope.classScope介绍

暂无

代码示例

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

public int record(FunctionalExpression expression) {
  if (this.functionalExpressionsCount == 0) {
    this.functionalExpressions = new FunctionalExpression[5];
  } else if (this.functionalExpressionsCount == this.functionalExpressions.length) {
    System.arraycopy(this.functionalExpressions, 0, (this.functionalExpressions = new FunctionalExpression[this.functionalExpressionsCount * 2]), 0, this.functionalExpressionsCount);
  }
  this.functionalExpressions[this.functionalExpressionsCount++] = expression;
  return expression.enclosingScope.classScope().referenceContext.record(expression);
}

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

public int record(FunctionalExpression expression) {
  if (this.functionalExpressionsCount == 0) {
    this.functionalExpressions = new FunctionalExpression[5];
  } else if (this.functionalExpressionsCount == this.functionalExpressions.length) {
    System.arraycopy(this.functionalExpressions, 0, (this.functionalExpressions = new FunctionalExpression[this.functionalExpressionsCount * 2]), 0, this.functionalExpressionsCount);
  }
  this.functionalExpressions[this.functionalExpressionsCount++] = expression;
  return expression.enclosingScope.classScope().referenceContext.record(expression);
}

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

public int record(FunctionalExpression expression) {
  if (this.functionalExpressionsCount == 0) {
    this.functionalExpressions = new FunctionalExpression[5];
  } else if (this.functionalExpressionsCount == this.functionalExpressions.length) {
    System.arraycopy(this.functionalExpressions, 0, (this.functionalExpressions = new FunctionalExpression[this.functionalExpressionsCount * 2]), 0, this.functionalExpressionsCount);
  }
  this.functionalExpressions[this.functionalExpressionsCount++] = expression;
  return expression.enclosingScope.classScope().referenceContext.record(expression);
}

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

public int record(FunctionalExpression expression) {
  if (this.functionalExpressionsCount == 0) {
    this.functionalExpressions = new FunctionalExpression[5];
  } else if (this.functionalExpressionsCount == this.functionalExpressions.length) {
    System.arraycopy(this.functionalExpressions, 0, (this.functionalExpressions = new FunctionalExpression[this.functionalExpressionsCount * 2]), 0, this.functionalExpressionsCount);
  }
  this.functionalExpressions[this.functionalExpressionsCount++] = expression;
  return expression.enclosingScope.classScope().referenceContext.record(expression);
}

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

public int record(FunctionalExpression expression) {
  if (this.functionalExpressionsCount == 0) {
    this.functionalExpressions = new FunctionalExpression[5];
  } else if (this.functionalExpressionsCount == this.functionalExpressions.length) {
    System.arraycopy(this.functionalExpressions, 0, (this.functionalExpressions = new FunctionalExpression[this.functionalExpressionsCount * 2]), 0, this.functionalExpressionsCount);
  }
  this.functionalExpressions[this.functionalExpressionsCount++] = expression;
  return expression.enclosingScope.classScope().referenceContext.record(expression);
}

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

variableElementImpl = (VariableElementImpl) type;
  LocalVariableBinding localVariableBinding = (LocalVariableBinding) variableElementImpl._binding;
  return (PackageElement) _env.getFactory().newElement(localVariableBinding.declaringScope.classScope().referenceContext.binding.fPackage);
case EXCEPTION_PARAMETER :
case INSTANCE_INIT :

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

variableElementImpl = (VariableElementImpl) type;
  LocalVariableBinding localVariableBinding = (LocalVariableBinding) variableElementImpl._binding;
  return (PackageElement) _env.getFactory().newElement(localVariableBinding.declaringScope.classScope().referenceContext.binding.fPackage);
case EXCEPTION_PARAMETER :
case INSTANCE_INIT :

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

variableElementImpl = (VariableElementImpl) type;
  LocalVariableBinding localVariableBinding = (LocalVariableBinding) variableElementImpl._binding;
  return (PackageElement) _env.getFactory().newElement(localVariableBinding.declaringScope.classScope().referenceContext.binding.fPackage);
case EXCEPTION_PARAMETER :
case INSTANCE_INIT :

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

variableElementImpl = (VariableElementImpl) type;
  LocalVariableBinding localVariableBinding = (LocalVariableBinding) variableElementImpl._binding;
  return (PackageElement) _env.getFactory().newElement(localVariableBinding.declaringScope.classScope().referenceContext.binding.fPackage);
case EXCEPTION_PARAMETER :
case INSTANCE_INIT :

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

variableElementImpl = (VariableElementImpl) type;
  LocalVariableBinding localVariableBinding = (LocalVariableBinding) variableElementImpl._binding;
  return (PackageElement) _env.getFactory().newElement(localVariableBinding.declaringScope.classScope().referenceContext.binding.fPackage);
case EXCEPTION_PARAMETER :
case INSTANCE_INIT :

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

variableElementImpl = (VariableElementImpl) type;
  LocalVariableBinding localVariableBinding = (LocalVariableBinding) variableElementImpl._binding;
  return (PackageElement) _env.getFactory().newElement(localVariableBinding.declaringScope.classScope().referenceContext.binding.fPackage);
case EXCEPTION_PARAMETER :
case INSTANCE_INIT :

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

final SourceTypeBinding sourceTypeBinding = this.scope.classScope().referenceContext.binding;
this.synthetic = sourceTypeBinding.addSyntheticMethodForSwitchEnum(resolvedTypeBinding);

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

final SourceTypeBinding sourceTypeBinding = currentScope.classScope().referenceContext.binding;
this.synthetic = sourceTypeBinding.addSyntheticMethodForSwitchEnum(resolvedTypeBinding);

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

final SourceTypeBinding sourceTypeBinding = currentScope.classScope().referenceContext.binding;
this.synthetic = sourceTypeBinding.addSyntheticMethodForSwitchEnum(resolvedTypeBinding);

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

final SourceTypeBinding sourceTypeBinding = currentScope.classScope().referenceContext.binding;
this.synthetic = sourceTypeBinding.addSyntheticMethodForSwitchEnum(resolvedTypeBinding);

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

final SourceTypeBinding sourceTypeBinding = currentScope.classScope().referenceContext.binding;
this.synthetic = sourceTypeBinding.addSyntheticMethodForSwitchEnum(resolvedTypeBinding);

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

final SourceTypeBinding sourceTypeBinding = currentScope.classScope().referenceContext.binding;
this.synthetic = sourceTypeBinding.addSyntheticMethodForSwitchEnum(resolvedTypeBinding);

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

final SourceTypeBinding sourceTypeBinding = currentScope.classScope().referenceContext.binding;
this.synthetic = sourceTypeBinding.addSyntheticMethodForSwitchEnum(resolvedTypeBinding);

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

final SourceTypeBinding sourceTypeBinding = currentScope.classScope().referenceContext.binding;
this.synthetic = sourceTypeBinding.addSyntheticMethodForSwitchEnum(resolvedTypeBinding);

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

final SourceTypeBinding sourceTypeBinding = currentScope.classScope().referenceContext.binding;
this.synthetic = sourceTypeBinding.addSyntheticMethodForSwitchEnum(resolvedTypeBinding);

相关文章

微信公众号

最新文章

更多

BlockScope类方法