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 SimpleScope
bindings -
Constructor Summary
ConstructorsConstructorDescriptionBindingScope(ResolvedType type, ISourceContext sourceContext, FormalBinding[] bindings) -
Method Summary
Modifier and TypeMethodDescriptionlookupType(String name, IHasPosition location) makeSourceLocation(IHasPosition location) Methods inherited from class SimpleScope
getFormal, getFormalCount, getImportedNames, getImportedPrefixes, getMessageHandler, getWorld, lookupFormal, makeFormalBindings, message, message, message, setImportedNames, setImportedPrefixesModifier and TypeMethodDescriptiongetFormal(int i) intString[]String[]getWorld()lookupFormal(String name) static FormalBinding[]makeFormalBindings(UnresolvedType[] types, String[] names) voidvoidmessage(IMessage.Kind kind, IHasPosition location, String message) voidmessage(IMessage.Kind kind, IHasPosition location1, IHasPosition location2, String message) voidsetImportedNames(String[] importedNames) voidsetImportedPrefixes(String[] importedPrefixes)
-
Constructor Details
-
BindingScope
-
-
Method Details
-
getEnclosingType
- Specified by:
getEnclosingTypein interfaceIScope- Overrides:
getEnclosingTypein classSimpleScope
-
makeSourceLocation
- Overrides:
makeSourceLocationin classSimpleScope
-
lookupType
- Specified by:
lookupTypein interfaceIScope- Overrides:
lookupTypein classSimpleScope- Returns:
- the type corresponding to the name in this scope, or ResolvedType.MISSING if no such type exists
-