Package org.aspectj.weaver
Class BindingScope
java.lang.Object
org.aspectj.weaver.patterns.SimpleScope
org.aspectj.weaver.BindingScope
- All Implemented Interfaces:
IScope
BindingScope that knows the enclosingType, which is needed for pointcut reference resolution
- Author:
- Alexandre Vasseur, Andy Clement
-
Field Summary
Fields inherited from class org.aspectj.weaver.patterns.SimpleScope
bindings
-
Constructor Summary
ConstructorDescriptionBindingScope
(ResolvedType type, ISourceContext sourceContext, FormalBinding[] bindings) -
Method Summary
Modifier and TypeMethodDescriptionlookupType
(String name, IHasPosition location) makeSourceLocation
(IHasPosition location) Methods inherited from class org.aspectj.weaver.patterns.SimpleScope
getFormal, getFormalCount, getImportedNames, getImportedPrefixes, getMessageHandler, getWorld, lookupFormal, makeFormalBindings, message, message, message, setImportedNames, setImportedPrefixes
-
Constructor Details
-
BindingScope
-
-
Method Details
-
getEnclosingType
- Specified by:
getEnclosingType
in interfaceIScope
- Overrides:
getEnclosingType
in classSimpleScope
-
makeSourceLocation
- Overrides:
makeSourceLocation
in classSimpleScope
-
lookupType
- Specified by:
lookupType
in interfaceIScope
- Overrides:
lookupType
in classSimpleScope
- Returns:
- the type corresponding to the name in this scope, or ResolvedType.MISSING if no such type exists
-