本文整理了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
暂无
代码示例来源: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);
内容来源于网络,如有侵权,请联系作者删除!