public String toString() {
return myPath + ":" + myTargetName;
}
@NotNull
public static PantsTargetAddress fromString(@NotNull @NonNls String targetName) {
<BUG>final PantsTargetAddress result = fromString(targetName, false);

assert result != null;
return result;
</BUG>
}

public String toString() {
return myPath + ":" + myTargetName;
}
@NotNull
public static PantsTargetAddress fromString(@NotNull @NonNls String targetName) {
final Optional<PantsTargetAddress> result = fromString(targetName, false);
assert result.isPresent();
return result.get();
}
