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

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

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

Parser.annotateTypeReference介绍

暂无

代码示例

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

protected void consumeWildcardBounds1Super() {
  Wildcard wildcard = new Wildcard(Wildcard.SUPER);
  wildcard.bound = (TypeReference) this.genericsStack[this.genericsPtr];
  this.intPtr--; // remove the starting position of the super keyword
  wildcard.sourceEnd = wildcard.bound.sourceEnd;
  this.intPtr--; // remove end position of the '?'
  wildcard.sourceStart = this.intStack[this.intPtr--];
  annotateTypeReference(wildcard);
  this.genericsStack[this.genericsPtr] = wildcard;
}
protected void consumeWildcardBounds2Extends() {

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

protected void consumeWildcardBounds2Super() {
  Wildcard wildcard = new Wildcard(Wildcard.SUPER);
  wildcard.bound = (TypeReference) this.genericsStack[this.genericsPtr];
  this.intPtr--; // remove the starting position of the super keyword
  wildcard.sourceEnd = wildcard.bound.sourceEnd;
  this.intPtr--; // remove end position of the '?'
  wildcard.sourceStart = this.intStack[this.intPtr--];
  annotateTypeReference(wildcard);
  this.genericsStack[this.genericsPtr] = wildcard;
}
protected void consumeWildcardBounds3Extends() {

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

protected void consumeWildcardBounds3Super() {
  Wildcard wildcard = new Wildcard(Wildcard.SUPER);
  wildcard.bound = (TypeReference) this.genericsStack[this.genericsPtr];
  this.intPtr--; // remove the starting position of the super keyword
  wildcard.sourceEnd = wildcard.bound.sourceEnd;
  this.intPtr--; // remove end position of the '?'
  wildcard.sourceStart = this.intStack[this.intPtr--];
  annotateTypeReference(wildcard);
  this.genericsStack[this.genericsPtr] = wildcard;
}
protected void consumeWildcardBoundsExtends() {

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

protected void consumeWildcardBounds1Extends() {
  Wildcard wildcard = new Wildcard(Wildcard.EXTENDS);
  wildcard.bound = (TypeReference) this.genericsStack[this.genericsPtr];
  wildcard.sourceEnd = wildcard.bound.sourceEnd;
  this.intPtr--; // remove end position of the '?'
  wildcard.sourceStart = this.intStack[this.intPtr--];
  annotateTypeReference(wildcard);
  this.genericsStack[this.genericsPtr] = wildcard;
}
protected void consumeWildcardBounds1Super() {

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

protected void consumeWildcardBounds1Super() {
  Wildcard wildcard = new Wildcard(Wildcard.SUPER);
  wildcard.bound = (TypeReference) this.genericsStack[this.genericsPtr];
  this.intPtr--; // remove the starting position of the super keyword
  wildcard.sourceEnd = wildcard.bound.sourceEnd;
  this.intPtr--; // remove end position of the '?'
  wildcard.sourceStart = this.intStack[this.intPtr--];
  annotateTypeReference(wildcard);
  this.genericsStack[this.genericsPtr] = wildcard;
}
protected void consumeWildcardBounds2Extends() {

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

protected void consumeWildcardBounds3Extends() {
  Wildcard wildcard = new Wildcard(Wildcard.EXTENDS);
  wildcard.bound = (TypeReference) this.genericsStack[this.genericsPtr];
  wildcard.sourceEnd = wildcard.bound.sourceEnd;
  this.intPtr--; // remove end position of the '?'
  wildcard.sourceStart = this.intStack[this.intPtr--];
  annotateTypeReference(wildcard);
  this.genericsStack[this.genericsPtr] = wildcard;
}
protected void consumeWildcardBounds3Super() {

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

protected void consumeWildcardBounds3Extends() {
  Wildcard wildcard = new Wildcard(Wildcard.EXTENDS);
  wildcard.bound = (TypeReference) this.genericsStack[this.genericsPtr];
  wildcard.sourceEnd = wildcard.bound.sourceEnd;
  this.intPtr--; // remove end position of the '?'
  wildcard.sourceStart = this.intStack[this.intPtr--];
  annotateTypeReference(wildcard);
  this.genericsStack[this.genericsPtr] = wildcard;
}
protected void consumeWildcardBounds3Super() {

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

protected void consumeWildcardBounds1Extends() {
  Wildcard wildcard = new Wildcard(Wildcard.EXTENDS);
  wildcard.bound = (TypeReference) this.genericsStack[this.genericsPtr];
  wildcard.sourceEnd = wildcard.bound.sourceEnd;
  this.intPtr--; // remove end position of the '?'
  wildcard.sourceStart = this.intStack[this.intPtr--];
  annotateTypeReference(wildcard);
  this.genericsStack[this.genericsPtr] = wildcard;
}
protected void consumeWildcardBounds1Super() {

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

protected void consumeWildcardBounds1Super() {
  Wildcard wildcard = new Wildcard(Wildcard.SUPER);
  wildcard.bound = (TypeReference) this.genericsStack[this.genericsPtr];
  this.intPtr--; // remove the starting position of the super keyword
  wildcard.sourceEnd = wildcard.bound.sourceEnd;
  this.intPtr--; // remove end position of the '?'
  wildcard.sourceStart = this.intStack[this.intPtr--];
  annotateTypeReference(wildcard);
  this.genericsStack[this.genericsPtr] = wildcard;
}
protected void consumeWildcardBounds2Extends() {

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

protected void consumeWildcardBounds1Super() {
  Wildcard wildcard = new Wildcard(Wildcard.SUPER);
  wildcard.bound = (TypeReference) this.genericsStack[this.genericsPtr];
  this.intPtr--; // remove the starting position of the super keyword
  wildcard.sourceEnd = wildcard.bound.sourceEnd;
  this.intPtr--; // remove end position of the '?'
  wildcard.sourceStart = this.intStack[this.intPtr--];
  annotateTypeReference(wildcard);
  this.genericsStack[this.genericsPtr] = wildcard;
}
protected void consumeWildcardBounds2Extends() {

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

protected void consumeWildcardBounds3Extends() {
  Wildcard wildcard = new Wildcard(Wildcard.EXTENDS);
  wildcard.bound = (TypeReference) this.genericsStack[this.genericsPtr];
  wildcard.sourceEnd = wildcard.bound.sourceEnd;
  this.intPtr--; // remove end position of the '?'
  wildcard.sourceStart = this.intStack[this.intPtr--];
  annotateTypeReference(wildcard);
  this.genericsStack[this.genericsPtr] = wildcard;
}
protected void consumeWildcardBounds3Super() {

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

protected void consumeWildcardBounds3Super() {
  Wildcard wildcard = new Wildcard(Wildcard.SUPER);
  wildcard.bound = (TypeReference) this.genericsStack[this.genericsPtr];
  this.intPtr--; // remove the starting position of the super keyword
  wildcard.sourceEnd = wildcard.bound.sourceEnd;
  this.intPtr--; // remove end position of the '?'
  wildcard.sourceStart = this.intStack[this.intPtr--];
  annotateTypeReference(wildcard);
  this.genericsStack[this.genericsPtr] = wildcard;
}
protected void consumeWildcardBoundsExtends() {

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

protected void consumeWildcard() {
  final Wildcard wildcard = new Wildcard(Wildcard.UNBOUND);
  wildcard.sourceEnd = this.intStack[this.intPtr--];
  wildcard.sourceStart = this.intStack[this.intPtr--];
  annotateTypeReference(wildcard);
  pushOnGenericsStack(wildcard);
}
protected void consumeWildcard1() {

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

protected void consumeWildcard1() {
  final Wildcard wildcard = new Wildcard(Wildcard.UNBOUND);
  wildcard.sourceEnd = this.intStack[this.intPtr--];
  wildcard.sourceStart = this.intStack[this.intPtr--];
  annotateTypeReference(wildcard);
  pushOnGenericsStack(wildcard);
}
protected void consumeWildcard1WithBounds() {

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

protected void consumeWildcard() {
  final Wildcard wildcard = new Wildcard(Wildcard.UNBOUND);
  wildcard.sourceEnd = this.intStack[this.intPtr--];
  wildcard.sourceStart = this.intStack[this.intPtr--];
  annotateTypeReference(wildcard);
  pushOnGenericsStack(wildcard);
}
protected void consumeWildcard1() {

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

protected void consumeWildcard() {
  final Wildcard wildcard = new Wildcard(Wildcard.UNBOUND);
  wildcard.sourceEnd = this.intStack[this.intPtr--];
  wildcard.sourceStart = this.intStack[this.intPtr--];
  annotateTypeReference(wildcard);
  pushOnGenericsStack(wildcard);
}
protected void consumeWildcard1() {

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

protected void consumeWildcard1() {
  final Wildcard wildcard = new Wildcard(Wildcard.UNBOUND);
  wildcard.sourceEnd = this.intStack[this.intPtr--];
  wildcard.sourceStart = this.intStack[this.intPtr--];
  annotateTypeReference(wildcard);
  pushOnGenericsStack(wildcard);
}
protected void consumeWildcard1WithBounds() {

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

protected void consumeWildcard3() {
  final Wildcard wildcard = new Wildcard(Wildcard.UNBOUND);
  wildcard.sourceEnd = this.intStack[this.intPtr--];
  wildcard.sourceStart = this.intStack[this.intPtr--];
  annotateTypeReference(wildcard);
  pushOnGenericsStack(wildcard);
}
protected void consumeWildcard3WithBounds() {

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

protected void consumeWildcardBoundsSuper() {
  Wildcard wildcard = new Wildcard(Wildcard.SUPER);
  wildcard.bound = getTypeReference(this.intStack[this.intPtr--]);
  this.intPtr--; // remove the starting position of the super keyword
  wildcard.sourceEnd = wildcard.bound.sourceEnd;
  this.intPtr--; // remove end position of the '?'
  wildcard.sourceStart = this.intStack[this.intPtr--];
  annotateTypeReference(wildcard);
  pushOnGenericsStack(wildcard);
}
protected void consumeWildcardWithBounds() {

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

protected void consumeWildcardBoundsSuper() {
  Wildcard wildcard = new Wildcard(Wildcard.SUPER);
  wildcard.bound = getTypeReference(this.intStack[this.intPtr--]);
  this.intPtr--; // remove the starting position of the super keyword
  wildcard.sourceEnd = wildcard.bound.sourceEnd;
  this.intPtr--; // remove end position of the '?'
  wildcard.sourceStart = this.intStack[this.intPtr--];
  annotateTypeReference(wildcard);
  pushOnGenericsStack(wildcard);
}
protected void consumeWildcardWithBounds() {

相关文章

Parser类方法