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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFormal(int i) intString[]String[]getWorld()lookupFormal(String name) lookupType(String name, IHasPosition location) voidvoidmessage(IMessage.Kind kind, IHasPosition location, String message) voidmessage(IMessage.Kind kind, IHasPosition location1, IHasPosition location2, String message)
-
Constructor Details
-
ScopeWithTypeVariables
-
-
Method Details
-
lookupType
- Specified by:
lookupTypein interfaceIScope- Returns:
- the type corresponding to the name in this scope, or ResolvedType.MISSING if no such type exists
-
getWorld
-
getEnclosingType
- Specified by:
getEnclosingTypein interfaceIScope
-
getMessageHandler
- Specified by:
getMessageHandlerin interfaceIScope
-
lookupFormal
- Specified by:
lookupFormalin interfaceIScope- Returns:
- the formal associated with the name, or null if no such formal exists
-
getFormal
-
getFormalCount
public int getFormalCount()- Specified by:
getFormalCountin interfaceIScope
-
getImportedPrefixes
- Specified by:
getImportedPrefixesin interfaceIScope
-
getImportedNames
- Specified by:
getImportedNamesin interfaceIScope
-
message
-
message
public void message(IMessage.Kind kind, IHasPosition location1, IHasPosition location2, String message) -
message
-