ResolvedTypeX enclosingType = shadow.getIWorld().resolve(shadow.getEnclosingType());
ResolvedTypeX enclosingType = shadow.getIWorld().resolve(shadow.getEnclosingType(),true); if (enclosingType == ResolvedTypeX.MISSING) { IMessage msg = new Message( WeaverMessages.format(WeaverMessages.CANT_FIND_TYPE_WITHINPCD, shadow.getEnclosingType().getName()), shadow.getSourceLocation(),true,new ISourceLocation[]{getSourceLocation()}); shadow.getIWorld().getMessageHandler().handleMessage(msg); }
	public FuzzyBoolean match(Shadow shadow) {		ResolvedTypeX enclosingType = shadow.getIWorld().resolve(shadow.getEnclosingType());		return isWithinType(enclosingType);	}