Package org.aspectj.weaver.patterns
Interface IScope
- All Known Implementing Classes:
BindingScope
,ScopeWithTypeVariables
,SimpleScope
public interface IScope
-
Method Summary
Modifier and TypeMethodDescriptiongetFormal
(int i) int
String[]
String[]
getWorld()
lookupFormal
(String name) lookupType
(String name, IHasPosition location) void
void
message
(IMessage.Kind kind, IHasPosition location, String message) void
message
(IMessage.Kind kind, IHasPosition location1, IHasPosition location2, String message)
-
Method Details
-
lookupType
- Returns:
- the type corresponding to the name in this scope, or ResolvedType.MISSING if no such type exists
-
getWorld
World getWorld() -
getEnclosingType
ResolvedType getEnclosingType() -
getMessageHandler
IMessageHandler getMessageHandler() -
lookupFormal
- Returns:
- the formal associated with the name, or null if no such formal exists
-
getFormal
- Returns:
- the formal with the index. Throws ArrayOutOfBounds exception if out of bounds
-
getFormalCount
int getFormalCount() -
getImportedPrefixes
String[] getImportedPrefixes() -
getImportedNames
String[] getImportedNames() -
message
-
message
-
message
-