| Constructor and Description |
|---|
EclipseScope(FormalBinding[] bindings,
Scope scope) |
| Modifier and Type | Method and Description |
|---|---|
ResolvedType |
getEnclosingType() |
FormalBinding |
getFormal(int i) |
int |
getFormalCount() |
java.lang.String[] |
getImportedNames() |
java.lang.String[] |
getImportedPrefixes() |
IMessageHandler |
getMessageHandler() |
World |
getWorld() |
FormalBinding |
lookupFormal(java.lang.String name) |
UnresolvedType |
lookupType(java.lang.String name,
IHasPosition location) |
ISourceLocation |
makeSourceLocation(IHasPosition location) |
void |
message(IMessage.Kind kind,
IHasPosition location1,
IHasPosition location2,
java.lang.String message) |
void |
message(IMessage.Kind kind,
IHasPosition location,
java.lang.String message) |
void |
message(IMessage aMessage) |
void |
setLimitedImports(char[] validPackage)
Mark this scope as only allowing limited support for imports.
|
public EclipseScope(FormalBinding[] bindings, Scope scope)
public UnresolvedType lookupType(java.lang.String name, IHasPosition location)
lookupType in interface IScopepublic java.lang.String[] getImportedNames()
getImportedNames in interface IScopepublic java.lang.String[] getImportedPrefixes()
getImportedPrefixes in interface IScopepublic FormalBinding lookupFormal(java.lang.String name)
lookupFormal in interface IScopepublic FormalBinding getFormal(int i)
public int getFormalCount()
getFormalCount in interface IScopepublic ISourceLocation makeSourceLocation(IHasPosition location)
public IMessageHandler getMessageHandler()
getMessageHandler in interface IScopepublic void message(IMessage.Kind kind, IHasPosition location1, IHasPosition location2, java.lang.String message)
public void message(IMessage.Kind kind, IHasPosition location, java.lang.String message)
public ResolvedType getEnclosingType()
getEnclosingType in interface IScopepublic void setLimitedImports(char[] validPackage)
validPackage - unqualified references can be resolved if the type is
in the same package as the type containing the pointcut
declaration.