Package org.aspectj.weaver.patterns
Class SimpleScope
java.lang.Object
org.aspectj.weaver.patterns.SimpleScope
- All Implemented Interfaces:
IScope
- Direct Known Subclasses:
BindingScope
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFormal(int i)intString[]String[]getWorld()lookupFormal(String name)lookupType(String name, IHasPosition location)static FormalBinding[]makeFormalBindings(UnresolvedType[] types, String[] names)makeSourceLocation(IHasPosition location)voidvoidmessage(IMessage.Kind kind, IHasPosition location, String message)voidmessage(IMessage.Kind kind, IHasPosition location1, IHasPosition location2, String message)voidsetImportedNames(String[] importedNames)voidsetImportedPrefixes(String[] importedPrefixes)
-
Field Details
-
bindings
-
-
Constructor Details
-
SimpleScope
-
-
Method Details
-
lookupType
- Specified by:
lookupTypein interfaceIScope- Returns:
- the type corresponding to the name in this scope, or ResolvedType.MISSING if no such type exists
-
getMessageHandler
- Specified by:
getMessageHandlerin interfaceIScope
-
lookupFormal
- Specified by:
lookupFormalin interfaceIScope- Returns:
- the formal associated with the name, or null if no such formal exists
-
getFormal
-
getFormalCount
public int getFormalCount()- Specified by:
getFormalCountin interfaceIScope
-
getImportedNames
- Specified by:
getImportedNamesin interfaceIScope
-
getImportedPrefixes
- Specified by:
getImportedPrefixesin interfaceIScope
-
setImportedNames
-
setImportedPrefixes
-
makeFormalBindings
-
makeSourceLocation
-
message
public void message(IMessage.Kind kind, IHasPosition location1, IHasPosition location2, String message) -
message
-
message
-
getWorld
-
getEnclosingType
- Specified by:
getEnclosingTypein interfaceIScope
-