org.aspectj.ajdt.internal.compiler.lookup
Class InterTypeScope

java.lang.Object
  extended by org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Scope
      extended by org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ClassScope
          extended by org.aspectj.ajdt.internal.compiler.lookup.InterTypeScope

public class InterTypeScope
extends ClassScope


Field Summary
 
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ClassScope
referenceContext, superTypeReference
 
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Scope
AUTOBOX_COMPATIBLE, BLOCK_SCOPE, CLASS_SCOPE, COMPATIBLE, COMPILATION_UNIT_SCOPE, EQUAL_OR_MORE_SPECIFIC, kind, METHOD_SCOPE, MORE_GENERIC, NOT_COMPATIBLE, NOT_RELATED, parent, VARARGS_COMPATIBLE
 
Constructor Summary
InterTypeScope(Scope parent, ReferenceBinding onType)
           
InterTypeScope(Scope parent, ReferenceBinding rb, java.util.List list)
           
 
Method Summary
 int addDepth()
           
 TypeVariableBinding findTypeVariable(char[] name, SourceTypeBinding sourceType)
          Other scopes can override this method
 java.lang.String getAnyAliasForTypeVariableBinding(TypeVariableBinding tvb)
           
 java.util.Map getRecoveryAliases()
           
 SourceTypeBinding invocationType()
          For Java scopes, the invocationType is always the same as the enclosingSourceType This distinction is important for AspectJ's inter-type declarations For inter-type declarations, the invocationType is the lexically enclosing type.
 
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ClassScope
checkParameterizedSuperTypeCollisions, checkParameterizedTypeBounds, detectHierarchyCycle, problemReporter, referenceType, toString
 
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Scope
boxing, classScope, compareTypes, compilationUnitScope, compilerOptions, computeCompatibleMethod, connectTypeVariables, convertEliminatingTypeVariables, createArrayType, createTypeVariables, deferBoundCheck, enclosingClassScope, enclosingMethodScope, enclosingReceiverType, enclosingReferenceContext, enclosingSourceType, environment, findDefaultAbstractMethod, findDirectMemberType, findExactMethod, findField, findField, findMemberType, findMethod, findMethod, findMethodForArray, findMethodInSuperInterfaces, findPrivilegedHandler, findType, findVariable, getBaseType, getBinding, getConstructor, getCurrentPackage, getDeclarationModifiers, getField, getImplicitMethod, getJavaIoSerializable, getJavaLangAnnotationAnnotation, getJavaLangAssertionError, getJavaLangClass, getJavaLangCloneable, getJavaLangEnum, getJavaLangIterable, getJavaLangObject, getJavaLangString, getJavaLangThrowable, getJavaUtilIterator, getMemberType, getMethod, getPackage, getStaticFactory, getType, getType, getType, getTypeOrPackage, greaterLowerBound, greaterLowerBound, hasErasedCandidatesCollisions, innermostSwitchCase, isAcceptableMethod, isBoxingCompatibleWith, isDefinedInField, isDefinedInMethod, isDefinedInSameUnit, isDefinedInType, isInsideCase, isInsideDeprecatedCode, isPossibleSubtypeOfRawType, lowerUpperBound, methodScope, minimalErasedCandidates, mostSpecificClassMethodBinding, mostSpecificInterfaceMethodBinding, mostSpecificMethodBinding, outerMostClassScope, outerMostMethodScope, parameterCompatibilityLevel, referenceCompilationUnit, referenceContext, substitute, substitute, substitute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InterTypeScope

public InterTypeScope(Scope parent,
                      ReferenceBinding onType)

InterTypeScope

public InterTypeScope(Scope parent,
                      ReferenceBinding rb,
                      java.util.List list)
Method Detail

getAnyAliasForTypeVariableBinding

public java.lang.String getAnyAliasForTypeVariableBinding(TypeVariableBinding tvb)

invocationType

public SourceTypeBinding invocationType()
Description copied from class: Scope
For Java scopes, the invocationType is always the same as the enclosingSourceType This distinction is important for AspectJ's inter-type declarations For inter-type declarations, the invocationType is the lexically enclosing type.

Overrides:
invocationType in class ClassScope

addDepth

public int addDepth()
Overrides:
addDepth in class ClassScope

findTypeVariable

public TypeVariableBinding findTypeVariable(char[] name,
                                            SourceTypeBinding sourceType)
Description copied from class: Scope
Other scopes can override this method

Overrides:
findTypeVariable in class Scope

getRecoveryAliases

public java.util.Map getRecoveryAliases()