org.aspectj.weaver.patterns
Interface IScope
- All Known Implementing Classes:
- BindingScope, ScopeWithTypeVariables, SimpleScope
public interface IScope
lookupType
UnresolvedType lookupType(java.lang.String name,
IHasPosition location)
- 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
FormalBinding lookupFormal(java.lang.String name)
- Returns:
- the formal associated with the name, or null if no such formal exists
getFormal
FormalBinding getFormal(int i)
- Returns:
- the formal with the index. Throws ArrayOutOfBounds exception if out of bounds
getFormalCount
int getFormalCount()
getImportedPrefixes
java.lang.String[] getImportedPrefixes()
getImportedNames
java.lang.String[] getImportedNames()
message
void message(IMessage.Kind kind,
IHasPosition location,
java.lang.String message)
message
void message(IMessage.Kind kind,
IHasPosition location1,
IHasPosition location2,
java.lang.String message)
message
void message(IMessage aMessage)