|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.internal.compiler.ast.ASTNode
org.aspectj.org.eclipse.jdt.internal.compiler.ast.Statement
org.aspectj.org.eclipse.jdt.internal.compiler.ast.Expression
org.aspectj.org.eclipse.jdt.internal.compiler.ast.Reference
org.aspectj.org.eclipse.jdt.internal.compiler.ast.NameReference
org.aspectj.org.eclipse.jdt.internal.compiler.ast.QualifiedNameReference
org.aspectj.org.eclipse.jdt.internal.eval.CodeSnippetQualifiedNameReference
public class CodeSnippetQualifiedNameReference
| Field Summary |
|---|
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.QualifiedNameReference |
|---|
genericCast, indexOfFirstFieldBinding, otherBindings, otherGenericCasts, sourcePositions, syntheticReadAccessors, syntheticWriteAccessor, tokens |
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.NameReference |
|---|
actualReceiverType, binding |
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.Expression |
|---|
constant, implicitConversion, resolvedType, statementEnd |
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.Statement |
|---|
COMPLAINED_FAKE_REACHABLE, COMPLAINED_UNREACHABLE, NOT_COMPLAINED |
| Fields inherited from interface org.aspectj.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 |
| Fields inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ProblemReasons |
|---|
Ambiguous, IllegalSuperTypeVariable, InheritedNameHidesEnclosingName, InternalNameProvided, InvalidTypeForAutoManagedResource, InvalidTypeForStaticImport, NoError, NonStaticReferenceInConstructorInvocation, NonStaticReferenceInStaticContext, NotFound, NotVisible, ParameterBoundMismatch, ParameterizedMethodTypeMismatch, ReceiverTypeNotVisible, TypeArgumentsForRawGenericMethod, TypeParameterArityMismatch |
| Constructor Summary | |
|---|---|
CodeSnippetQualifiedNameReference(char[][] sources,
long[] positions,
int sourceStart,
int sourceEnd,
EvaluationContext evaluationContext)
CodeSnippetQualifiedNameReference constructor comment. |
|
| Method Summary | |
|---|---|
TypeBinding |
checkFieldAccess(BlockScope scope)
Check and/or redirect the field access to the delegate receiver if any |
void |
generateAssignment(BlockScope currentScope,
CodeStream codeStream,
Assignment assignment,
boolean valueRequired)
Check and/or redirect the field access to the delegate receiver if any |
void |
generateCode(BlockScope currentScope,
CodeStream codeStream,
boolean valueRequired)
Every expression is responsible for generating its implicit conversion when necessary. |
void |
generateCompoundAssignment(BlockScope currentScope,
CodeStream codeStream,
Expression expression,
int operator,
int assignmentImplicitConversion,
boolean valueRequired)
|
void |
generatePostIncrement(BlockScope currentScope,
CodeStream codeStream,
CompoundAssignment postIncrement,
boolean valueRequired)
|
FieldBinding |
generateReadSequence(BlockScope currentScope,
CodeStream codeStream)
|
void |
generateReceiver(CodeStream codeStream)
|
TypeBinding |
getOtherFieldBindings(BlockScope scope)
|
void |
manageSyntheticAccessIfNecessary(BlockScope currentScope,
FieldBinding fieldBinding,
int index,
FlowInfo flowInfo)
index is <0 to denote write access emulation |
TypeBinding |
reportError(BlockScope scope)
Normal field binding did not work, try to bind to a field of the delegate receiver. |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.QualifiedNameReference |
|---|
analyseAssignment, analyseCode, analyseCode, checkNPE, computeConversion, genericTypeArguments, getCodegenBinding, getFinalReceiverType, getGenericCast, manageEnclosingInstanceAccessIfNecessary, nullStatus, optimizedBooleanConstant, postConversionType, printExpression, resolveType, setFieldIndex, setGenericCast, setSyntheticAccessor, traverse, traverse, unboundReferenceErrorName |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.NameReference |
|---|
fieldBinding, isSuperAccess, isTypeAccess, isTypeReference, setActualReceiverType, setDepth |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.Reference |
|---|
fieldStore |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.Expression |
|---|
checkCastTypesCompatibility, checkNPE, checkUnsafeCast, forcedToBeRaw, generateCode, generateOptimizedBoolean, generateOptimizedStringConcatenation, generateOptimizedStringConcatenationCreation, getDirectBinding, isCompactableOperation, isConstantValueOfTypeAssignableToType, isConstantValueRepresentable, localVariableBinding, markAsNonNull, print, printStatement, resolve, resolveType, resolveTypeExpecting, reusableJSRTarget, setExpectedType, tagAsNeedCheckCast, tagAsUnnecessaryCast, toTypeReference |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.Statement |
|---|
branchChainTo, checkAgainstNullAnnotation, complainIfUnreachable, expectedType, generateArguments, isBoxingCompatible, isEmptyBlock, isKnowDeadCodePattern, isValidJavaStatement, resolveCase |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.ASTNode |
|---|
checkInvocationArguments, concreteStatement, isFieldUseDeprecated, isImplicitThis, isMethodUseDeprecated, isSuper, isThis, isTypeUseDeprecated, printAnnotations, printIndent, printModifiers, resolveAnnotations, resolveDeprecatedAnnotations, sourceEnd, sourceStart, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.lookup.InvocationSite |
|---|
expectedType, sourceEnd, sourceStart |
| Constructor Detail |
|---|
public CodeSnippetQualifiedNameReference(char[][] sources,
long[] positions,
int sourceStart,
int sourceEnd,
EvaluationContext evaluationContext)
sources - char[][]sourceStart - intsourceEnd - int| Method Detail |
|---|
public TypeBinding checkFieldAccess(BlockScope scope)
public void generateCode(BlockScope currentScope,
CodeStream codeStream,
boolean valueRequired)
Expression
generateCode in class QualifiedNameReferencecurrentScope - org.aspectj.org.eclipse.jdt.internal.compiler.lookup.BlockScopecodeStream - org.aspectj.org.eclipse.jdt.internal.compiler.codegen.CodeStreamvalueRequired - boolean
public void generateAssignment(BlockScope currentScope,
CodeStream codeStream,
Assignment assignment,
boolean valueRequired)
generateAssignment in class QualifiedNameReference
public void generateCompoundAssignment(BlockScope currentScope,
CodeStream codeStream,
Expression expression,
int operator,
int assignmentImplicitConversion,
boolean valueRequired)
generateCompoundAssignment in class QualifiedNameReference
public void generatePostIncrement(BlockScope currentScope,
CodeStream codeStream,
CompoundAssignment postIncrement,
boolean valueRequired)
generatePostIncrement in class QualifiedNameReference
public FieldBinding generateReadSequence(BlockScope currentScope,
CodeStream codeStream)
generateReadSequence in class QualifiedNameReferencepublic void generateReceiver(CodeStream codeStream)
generateReceiver in class QualifiedNameReferencepublic TypeBinding getOtherFieldBindings(BlockScope scope)
getOtherFieldBindings in class QualifiedNameReference
public void manageSyntheticAccessIfNecessary(BlockScope currentScope,
FieldBinding fieldBinding,
int index,
FlowInfo flowInfo)
manageSyntheticAccessIfNecessary in class QualifiedNameReferencepublic TypeBinding reportError(BlockScope scope)
reportError in class QualifiedNameReference
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||