本文整理了Java中org.eclipse.jdt.internal.compiler.parser.Parser.getUnspecifiedReference()
方法的一些代码示例,展示了Parser.getUnspecifiedReference()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Parser.getUnspecifiedReference()
方法的具体详情如下:
包路径:org.eclipse.jdt.internal.compiler.parser.Parser
类名称:Parser
方法名:getUnspecifiedReference
暂无
代码示例来源:origin: org.eclipse.jdt.core.compiler/ecj
protected NameReference getUnspecifiedReference() {
return getUnspecifiedReference(true);
}
protected NameReference getUnspecifiedReference(boolean rejectTypeAnnotations) {
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core
protected NameReference getUnspecifiedReference() {
return getUnspecifiedReference(true);
}
protected NameReference getUnspecifiedReference(boolean rejectTypeAnnotations) {
代码示例来源:origin: com.vaadin/vaadin-client-compiler-deps
protected NameReference getUnspecifiedReference() {
return getUnspecifiedReference(true);
}
protected NameReference getUnspecifiedReference(boolean rejectTypeAnnotations) {
代码示例来源:origin: org.eclipse.tycho/org.eclipse.jdt.core
protected NameReference getUnspecifiedReference() {
return getUnspecifiedReference(true);
}
protected NameReference getUnspecifiedReference(boolean rejectTypeAnnotations) {
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core
protected NameReference getUnspecifiedReference() {
return getUnspecifiedReference(true);
}
protected NameReference getUnspecifiedReference(boolean rejectTypeAnnotations) {
代码示例来源:origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core
protected NameReference getUnspecifiedReference() {
return getUnspecifiedReference(true);
}
protected NameReference getUnspecifiedReference(boolean rejectTypeAnnotations) {
代码示例来源:origin: org.eclipse.scout.sdk.deps/ecj
protected NameReference getUnspecifiedReference() {
return getUnspecifiedReference(true);
}
protected NameReference getUnspecifiedReference(boolean rejectTypeAnnotations) {
代码示例来源:origin: trylimits/Eclipse-Postfix-Code-Completion
protected NameReference getUnspecifiedReference() {
return getUnspecifiedReference(true);
}
protected NameReference getUnspecifiedReference(boolean rejectTypeAnnotations) {
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core
protected void consumeResourceAsLocalVariable() {
// Resource ::= Name
NameReference ref = getUnspecifiedReference(true);
//ref.bits |= ASTNode.IsCapturedOuterLocal;
pushOnAstStack(ref);
}
protected void consumeResourceAsFieldAccess() {
代码示例来源:origin: org.eclipse.tycho/org.eclipse.jdt.core
protected void consumeResourceAsLocalVariable() {
// Resource ::= Name
NameReference ref = getUnspecifiedReference(true);
//ref.bits |= ASTNode.IsCapturedOuterLocal;
pushOnAstStack(ref);
}
protected void consumeResourceAsFieldAccess() {
代码示例来源:origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core
protected NameReference getUnspecifiedReference(boolean rejectTypeAnnotations) {
NameReference nameRef = super.getUnspecifiedReference(rejectTypeAnnotations);
if (this.patternFineGrain == 0) {
this.patternLocator.match(nameRef, this.nodeSet); // NB: Don't check container since unspecified reference can happen anywhere
} else if ((this.patternFineGrain & IJavaSearchConstants.QUALIFIED_REFERENCE) != 0) {
if (nameRef instanceof QualifiedNameReference) {
this.patternLocator.match(nameRef, this.nodeSet);
}
} else if ((this.patternFineGrain & IJavaSearchConstants.IMPLICIT_THIS_REFERENCE) != 0) {
if (nameRef instanceof SingleNameReference) {
this.patternLocator.match(nameRef, this.nodeSet);
}
}
return nameRef;
}
protected NameReference getUnspecifiedReferenceOptimized() {
代码示例来源:origin: org.eclipse.tycho/org.eclipse.jdt.core
protected NameReference getUnspecifiedReference(boolean rejectTypeAnnotations) {
NameReference nameRef = super.getUnspecifiedReference(rejectTypeAnnotations);
if (this.patternFineGrain == 0) {
this.patternLocator.match(nameRef, this.nodeSet); // NB: Don't check container since unspecified reference can happen anywhere
} else if ((this.patternFineGrain & IJavaSearchConstants.QUALIFIED_REFERENCE) != 0) {
if (nameRef instanceof QualifiedNameReference) {
this.patternLocator.match(nameRef, this.nodeSet);
}
} else if ((this.patternFineGrain & IJavaSearchConstants.IMPLICIT_THIS_REFERENCE) != 0) {
if (nameRef instanceof SingleNameReference) {
this.patternLocator.match(nameRef, this.nodeSet);
}
}
return nameRef;
}
protected NameReference getUnspecifiedReferenceOptimized() {
代码示例来源:origin: org.eclipse.tycho/org.eclipse.jdt.core
protected void consumeExplicitThisParameter(boolean isQualified) {
// VariableDeclaratorIdOrThis ::= 'this'
// VariableDeclaratorIdOrThis ::= UnannotatableName '.' 'this'
// VariableDeclaratorIdOrThis ::= VariableDeclaratorId
NameReference qualifyingNameReference = null;
if (isQualified) {
qualifyingNameReference = getUnspecifiedReference(false); // By construction the qualified name is unannotated here, so we should not meddle with the type annotation stack
}
pushOnExpressionStack(qualifyingNameReference);
int thisStart = this.intStack[this.intPtr--];
pushIdentifier(ConstantPool.This, (((long) thisStart << 32)) + (thisStart + 3));
pushOnIntStack(0); // extended dimensions ...
pushOnIntStack(0); // signal explicit this
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core
protected void consumeExplicitThisParameter(boolean isQualified) {
// VariableDeclaratorIdOrThis ::= 'this'
// VariableDeclaratorIdOrThis ::= UnannotatableName '.' 'this'
// VariableDeclaratorIdOrThis ::= VariableDeclaratorId
NameReference qualifyingNameReference = null;
if (isQualified) {
qualifyingNameReference = getUnspecifiedReference(false); // By construction the qualified name is unannotated here, so we should not meddle with the type annotation stack
}
pushOnExpressionStack(qualifyingNameReference);
int thisStart = this.intStack[this.intPtr--];
pushIdentifier(ConstantPool.This, (((long) thisStart << 32)) + (thisStart + 3));
pushOnIntStack(0); // extended dimensions ...
pushOnIntStack(0); // signal explicit this
}
代码示例来源:origin: org.eclipse.jdt.core.compiler/ecj
protected void consumeExplicitThisParameter(boolean isQualified) {
// VariableDeclaratorIdOrThis ::= 'this'
// VariableDeclaratorIdOrThis ::= UnannotatableName '.' 'this'
// VariableDeclaratorIdOrThis ::= VariableDeclaratorId
NameReference qualifyingNameReference = null;
if (isQualified) {
qualifyingNameReference = getUnspecifiedReference(false); // By construction the qualified name is unannotated here, so we should not meddle with the type annotation stack
}
pushOnExpressionStack(qualifyingNameReference);
int thisStart = this.intStack[this.intPtr--];
pushIdentifier(ConstantPool.This, (((long) thisStart << 32)) + (thisStart + 3));
pushOnIntStack(0); // extended dimensions ...
pushOnIntStack(0); // signal explicit this
}
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core
protected void consumeExplicitThisParameter(boolean isQualified) {
// VariableDeclaratorIdOrThis ::= 'this'
// VariableDeclaratorIdOrThis ::= UnannotatableName '.' 'this'
// VariableDeclaratorIdOrThis ::= VariableDeclaratorId
NameReference qualifyingNameReference = null;
if (isQualified) {
qualifyingNameReference = getUnspecifiedReference(false); // By construction the qualified name is unannotated here, so we should not meddle with the type annotation stack
}
pushOnExpressionStack(qualifyingNameReference);
int thisStart = this.intStack[this.intPtr--];
pushIdentifier(ConstantPool.This, (((long) thisStart << 32)) + (thisStart + 3));
pushOnIntStack(0); // extended dimensions ...
pushOnIntStack(0); // signal explicit this
}
代码示例来源:origin: com.vaadin/vaadin-client-compiler-deps
protected void consumeExplicitThisParameter(boolean isQualified) {
// VariableDeclaratorIdOrThis ::= 'this'
// VariableDeclaratorIdOrThis ::= UnannotatableName '.' 'this'
// VariableDeclaratorIdOrThis ::= VariableDeclaratorId
NameReference qualifyingNameReference = null;
if (isQualified) {
qualifyingNameReference = getUnspecifiedReference(false); // By construction the qualified name is unannotated here, so we should not meddle with the type annotation stack
}
pushOnExpressionStack(qualifyingNameReference);
int thisStart = this.intStack[this.intPtr--];
pushIdentifier(ConstantPool.This, (((long) thisStart << 32)) + (thisStart + 3));
pushOnIntStack(0); // extended dimensions ...
pushOnIntStack(0); // signal explicit this
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/ecj
protected void consumeExplicitThisParameter(boolean isQualified) {
// VariableDeclaratorIdOrThis ::= 'this'
// VariableDeclaratorIdOrThis ::= UnannotatableName '.' 'this'
// VariableDeclaratorIdOrThis ::= VariableDeclaratorId
NameReference qualifyingNameReference = null;
if (isQualified) {
qualifyingNameReference = getUnspecifiedReference(false); // By construction the qualified name is unannotated here, so we should not meddle with the type annotation stack
}
pushOnExpressionStack(qualifyingNameReference);
int thisStart = this.intStack[this.intPtr--];
pushIdentifier(ConstantPool.This, (((long) thisStart << 32)) + (thisStart + 3));
pushOnIntStack(0); // extended dimensions ...
pushOnIntStack(0); // signal explicit this
}
代码示例来源:origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core
protected void consumeExplicitThisParameter(boolean isQualified) {
// VariableDeclaratorIdOrThis ::= 'this'
// VariableDeclaratorIdOrThis ::= UnannotatableName '.' 'this'
// VariableDeclaratorIdOrThis ::= VariableDeclaratorId
NameReference qualifyingNameReference = null;
if (isQualified) {
qualifyingNameReference = getUnspecifiedReference(false); // By construction the qualified name is unannotated here, so we should not meddle with the type annotation stack
}
pushOnExpressionStack(qualifyingNameReference);
int thisStart = this.intStack[this.intPtr--];
pushIdentifier(ConstantPool.This, (((long) thisStart << 32)) + (thisStart + 3));
pushOnIntStack(0); // extended dimensions ...
pushOnIntStack(0); // signal explicit this
}
代码示例来源:origin: trylimits/Eclipse-Postfix-Code-Completion
protected void consumeExplicitThisParameter(boolean isQualified) {
// VariableDeclaratorIdOrThis ::= 'this'
// VariableDeclaratorIdOrThis ::= UnannotatableName '.' 'this'
// VariableDeclaratorIdOrThis ::= VariableDeclaratorId
NameReference qualifyingNameReference = null;
if (isQualified) {
qualifyingNameReference = getUnspecifiedReference(false); // By construction the qualified name is unannotated here, so we should not meddle with the type annotation stack
}
pushOnExpressionStack(qualifyingNameReference);
int thisStart = this.intStack[this.intPtr--];
pushIdentifier(ConstantPool.This, (((long) thisStart << 32)) + (thisStart + 3));
pushOnIntStack(0); // extended dimensions ...
pushOnIntStack(0); // signal explicit this
}
内容来源于网络,如有侵权,请联系作者删除!