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 IScope
public java.lang.String[] getImportedNames()
getImportedNames
in interface IScope
public java.lang.String[] getImportedPrefixes()
getImportedPrefixes
in interface IScope
public FormalBinding lookupFormal(java.lang.String name)
lookupFormal
in interface IScope
public FormalBinding getFormal(int i)
public int getFormalCount()
getFormalCount
in interface IScope
public ISourceLocation makeSourceLocation(IHasPosition location)
public IMessageHandler getMessageHandler()
getMessageHandler
in interface IScope
public 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 IScope
public 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.