.handleMessage(new Message(message, kind, null, makeSourceLocation(location)));
}
+
+ public void message(IMessage aMessage) {
+ getMessageHandler().handleMessage(aMessage);
+ }
+
public World getWorld() {
return world.getWorld();
}
void message(IMessage.Kind kind, IHasPosition location, String message);
void message(IMessage.Kind kind, IHasPosition location1, IHasPosition location2, String message);
+ void message(IMessage aMessage);
//ISourceLocation makeSourceLocation(ILocation location);
}
* ******************************************************************/
package org.aspectj.weaver.patterns;
+import org.aspectj.bridge.IMessage;
import org.aspectj.bridge.IMessageHandler;
import org.aspectj.bridge.IMessage.Kind;
import org.aspectj.weaver.IHasPosition;
if (typeVariableNames[i].equals(name)) {
if (typeVarTypeXs[i] == null) {
typeVarTypeXs[i] = new UnresolvedTypeVariableReferenceType(new TypeVariable(name));
- return typeVarTypeXs[i];
}
+ return typeVarTypeXs[i];
}
}
return delegateScope.lookupType(name, location);
delegateScope.message(kind,location1,location2,message);
}
+ public void message(IMessage aMessage) {
+ delegateScope.message(aMessage);
+ }
+
}