Package org.aspectj.weaver.patterns
Class ScopeWithTypeVariables
java.lang.Object
org.aspectj.weaver.patterns.ScopeWithTypeVariables
- All Implemented Interfaces:
IScope
A scope that also considers type variables when looking up a type.
-
Constructor Summary
-
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)
-
Constructor Details
-
ScopeWithTypeVariables
-
-
Method Details
-
lookupType
- Specified by:
lookupType
in interfaceIScope
- Returns:
- the type corresponding to the name in this scope, or ResolvedType.MISSING if no such type exists
-
getWorld
-
getEnclosingType
- Specified by:
getEnclosingType
in interfaceIScope
-
getMessageHandler
- Specified by:
getMessageHandler
in interfaceIScope
-
lookupFormal
- Specified by:
lookupFormal
in interfaceIScope
- Returns:
- the formal associated with the name, or null if no such formal exists
-
getFormal
-
getFormalCount
public int getFormalCount()- Specified by:
getFormalCount
in interfaceIScope
-
getImportedPrefixes
- Specified by:
getImportedPrefixes
in interfaceIScope
-
getImportedNames
- Specified by:
getImportedNames
in interfaceIScope
-
message
-
message
public void message(IMessage.Kind kind, IHasPosition location1, IHasPosition location2, String message) -
message
-