|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jdt.internal.compiler.ast.ASTNode
org.eclipse.jdt.internal.compiler.ast.Statement
org.eclipse.jdt.internal.compiler.ast.Expression
org.eclipse.jdt.internal.compiler.ast.Reference
org.eclipse.jdt.internal.compiler.ast.ThisReference
org.eclipse.jdt.internal.compiler.ast.SuperReference
org.eclipse.jdt.internal.eval.CodeSnippetSuperReference
public class CodeSnippetSuperReference
A super reference inside a code snippet denotes a reference to the super type of the remote receiver object (that is, the receiver of the context in the stack frame). This is used to report an error through JavaModelException according to the fact that super reference are not supported in code snippet.
Field Summary |
---|
Fields inherited from class org.eclipse.jdt.internal.compiler.ast.Expression |
---|
constant, implicitConversion, resolvedType, statementEnd |
Fields inherited from interface org.eclipse.jdt.internal.eval.EvaluationConstants |
---|
CODE_SNIPPET_CLASS_NAME_PREFIX, CODE_SNIPPET_NAME, DELEGATE_THIS, GLOBAL_VARS_CLASS_NAME_PREFIX, LOCAL_VAR_PREFIX, PACKAGE_NAME, RESULT_TYPE_FIELD, RESULT_VALUE_FIELD, ROOT_CLASS_NAME, ROOT_COMPOUND_NAME, ROOT_FULL_CLASS_NAME, RUN_METHOD, SETRESULT_ARGUMENTS, SETRESULT_SELECTOR |
Constructor Summary | |
---|---|
CodeSnippetSuperReference(int pos,
int sourceEnd)
|
Method Summary | |
---|---|
TypeBinding[] |
genericTypeArguments()
|
boolean |
isSuperAccess()
|
boolean |
isTypeAccess()
|
TypeBinding |
resolveType(BlockScope scope)
Resolve the type of this expression in the context of a blockScope |
void |
setActualReceiverType(ReferenceBinding receiverType)
|
void |
setDepth(int depth)
|
void |
setFieldIndex(int index)
|
Methods inherited from class org.eclipse.jdt.internal.compiler.ast.SuperReference |
---|
implicitSuperConstructorCall, isImplicitThis, isSuper, isThis, printExpression, traverse |
Methods inherited from class org.eclipse.jdt.internal.compiler.ast.ThisReference |
---|
analyseAssignment, checkAccess, generateAssignment, generateCode, generateCompoundAssignment, generatePostIncrement, implicitThis, nullStatus, traverse |
Methods inherited from class org.eclipse.jdt.internal.compiler.ast.Reference |
---|
analyseCode, fieldBinding, fieldStore |
Methods inherited from class org.eclipse.jdt.internal.compiler.ast.Statement |
---|
branchChainTo, complainIfUnreachable, generateArguments, isEmptyBlock, isValidJavaStatement, resolveCase |
Methods inherited from class org.eclipse.jdt.internal.compiler.ast.ASTNode |
---|
checkInvocationArguments, concreteStatement, isFieldUseDeprecated, isMethodUseDeprecated, isTypeUseDeprecated, printAnnotations, printIndent, printModifiers, resolveAnnotations, resolveDeprecatedAnnotations, sourceEnd, sourceStart, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.jdt.internal.compiler.lookup.InvocationSite |
---|
sourceEnd, sourceStart |
Constructor Detail |
---|
public CodeSnippetSuperReference(int pos, int sourceEnd)
Method Detail |
---|
public TypeBinding[] genericTypeArguments()
genericTypeArguments
in interface InvocationSite
InvocationSite.genericTypeArguments()
public TypeBinding resolveType(BlockScope scope)
Expression
resolveType
in class SuperReference
public boolean isSuperAccess()
isSuperAccess
in interface InvocationSite
public boolean isTypeAccess()
isTypeAccess
in interface InvocationSite
public void setActualReceiverType(ReferenceBinding receiverType)
setActualReceiverType
in interface InvocationSite
public void setDepth(int depth)
setDepth
in interface InvocationSite
public void setFieldIndex(int index)
setFieldIndex
in interface InvocationSite
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |